Less strict textile links parsing (#2582).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2344 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 16 years ago
parent f021c856c1
commit 2ca4eea244
  1. 2
      lib/redcloth3.rb

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

Loading…
Cancel
Save