diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-10-23 22:35:02 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-10-23 22:35:02 +0000 |
commit | d642964035e6be4687c37e9e01af4b5590580396 (patch) | |
tree | 6dcdab0f7b40f4f7f7a8b794d78cf527e01a02b0 /lib/redmine/wiki_formatting | |
parent | 7824eca77561dea52960b3d094389bd4e85eeccf (diff) | |
download | redmine-d642964035e6be4687c37e9e01af4b5590580396.tar.gz redmine-d642964035e6be4687c37e9e01af4b5590580396.zip |
Fixed: auto links ending with right angle bracket shouldn't include the bracket in the URL. #5652
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4287 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/wiki_formatting')
-rw-r--r-- | lib/redmine/wiki_formatting/textile/formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/textile/formatter.rb b/lib/redmine/wiki_formatting/textile/formatter.rb index a622e8039..6794f82c7 100644 --- a/lib/redmine/wiki_formatting/textile/formatter.rb +++ b/lib/redmine/wiki_formatting/textile/formatter.rb @@ -121,7 +121,7 @@ module Redmine (\S+?) # url (\/)? # slash ) - ([^\w\=\/;\(\)]*?) # post + ((?:>)?|[^\w\=\/;\(\)]*?) # post (?=<|\s|$) }x unless const_defined?(:AUTO_LINK_RE) |