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:
parent
f021c856c1
commit
2ca4eea244
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user