summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-07 17:35:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-07 17:35:52 +0000
commitbab9b0d6ff7e51b774446c4a83cdb728c99ae684 (patch)
tree6d11fe4e438431e7dd187fe19cf4ac234bae44b0 /lib
parent81b84f641d9ed5c5fcca1893559812faecf14b3a (diff)
downloadredmine-bab9b0d6ff7e51b774446c4a83cdb728c99ae684.tar.gz
redmine-bab9b0d6ff7e51b774446c4a83cdb728c99ae684.zip
Allow textile mailto links (#3127).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2664 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redcloth3.rb2
1 files changed, 1 insertions, 1 deletions
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