Allow textile mailto links (#3127).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2664 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-04-07 17:35:52 +00:00
parent 81b84f641d
commit bab9b0d6ff
1 changed files with 1 additions and 1 deletions

View File

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