From bab9b0d6ff7e51b774446c4a83cdb728c99ae684 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 7 Apr 2009 17:35:52 +0000 Subject: [PATCH] Allow textile mailto links (#3127). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2664 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 9e63bf5ac..e0dca80e2 100644 --- a/lib/redcloth3.rb +++ b/lib/redcloth3.rb @@ -792,7 +792,7 @@ class RedCloth3 < String (?:\(([^)]+?)\)(?="))? # $title ": ( # $url - (\/|[a-zA-Z]+:\/\/|www\.) # $proto + (\/|[a-zA-Z]+:\/\/|www\.|mailto:) # $proto [\w\/]\S+? ) (\/)? # $slash -- 2.39.5