From 2ca4eea244428d0dbb11bb558d4e5bc241417b32 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 31 Jan 2009 14:50:56 +0000 Subject: [PATCH] Less strict textile links parsing (#2582). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2344 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redcloth3.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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