Prevent unwanted textile link parsing at end of line.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1557 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2008-06-16 19:37:09 +00:00
1 parent 0223b87612
commit f4e0c77c83
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -786,7 +786,7 @@ class RedCloth < String
\s?
(?:\(([^)]+?)\)(?="))? # $title
":
(\S+?) # $url
([\w\/]\S+?) # $url
(\/)? # $slash
([^\w\/;]*?) # $post
(?=<|\s|$)