Less strict textile links parsing (#2582).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2344 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-01-31 14:50:56 +00:00
parent f021c856c1
commit 2ca4eea244

View File

@ -792,7 +792,7 @@ class RedCloth3 < String
(?:\(([^)]+?)\)(?="))? # $title (?:\(([^)]+?)\)(?="))? # $title
": ":
( # $url ( # $url
(\/|https?:\/\/|s?ftps?:\/\/|www\.) (\/|[a-zA-Z]+:\/\/|www\.) # $proto
[\w\/]\S+? [\w\/]\S+?
) )
(\/)? # $slash (\/)? # $slash