diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-31 14:50:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-31 14:50:56 +0000 |
commit | 2ca4eea244428d0dbb11bb558d4e5bc241417b32 (patch) | |
tree | 0e3883422e77e0b33beb6b8b95b192fb13b6f4d9 /lib/redcloth3.rb | |
parent | f021c856c19ab4a30a77de6a39239ee437712fa5 (diff) | |
download | redmine-2ca4eea244428d0dbb11bb558d4e5bc241417b32.tar.gz redmine-2ca4eea244428d0dbb11bb558d4e5bc241417b32.zip |
Less strict textile links parsing (#2582).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2344 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redcloth3.rb')
-rw-r--r-- | lib/redcloth3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb index c138450a2..9e63bf5ac 100644 --- a/lib/redcloth3.rb +++ b/lib/redcloth3.rb @@ -792,7 +792,7 @@ class RedCloth3 < String (?:\(([^)]+?)\)(?="))? # $title ": ( # $url - (\/|https?:\/\/|s?ftps?:\/\/|www\.) + (\/|[a-zA-Z]+:\/\/|www\.) # $proto [\w\/]\S+? ) (\/)? # $slash |