Fixed that URLs separated by line break are not rendered as links (#18349).

git-svn-id: http://svn.redmine.org/redmine/trunk@13592 e93f8b46-1217-0410-a6f0-8f06a7374b81