diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-16 19:37:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-16 19:37:09 +0000 |
commit | f4e0c77c8357958e713466c000e135e321600249 (patch) | |
tree | 18d293d142514c38a7570536afa6651784984237 /lib | |
parent | 0223b87612fd536b51c448916dc5fff1284c6b82 (diff) | |
download | redmine-f4e0c77c8357958e713466c000e135e321600249.tar.gz redmine-f4e0c77c8357958e713466c000e135e321600249.zip |
Prevent unwanted textile link parsing at end of line.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1557 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redcloth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcloth.rb b/lib/redcloth.rb index 42eddd8e0..59d02fbab 100644 --- a/lib/redcloth.rb +++ b/lib/redcloth.rb @@ -786,7 +786,7 @@ class RedCloth < String \s? (?:\(([^)]+?)\)(?="))? # $title ": - (\S+?) # $url + ([\w\/]\S+?) # $url (\/)? # $slash ([^\w\/;]*?) # $post (?=<|\s|$) |