diff options
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 |