[Rt-commit] rt branch, 4.0/dont-link-punctuation, created. rt-4.0.14rc1-25-g2c8ed76
Thomas Sibley
trs at bestpractical.com
Tue Jul 23 01:30:08 EDT 2013
The branch, 4.0/dont-link-punctuation has been created
at 2c8ed76665d5536df7d76bdb10a7f2dee92b8082 (commit)
- Log -----------------------------------------------------------------
commit 2c8ed76665d5536df7d76bdb10a7f2dee92b8082
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Jul 22 22:29:13 2013 -0700
Avoid linking trailing punctuation in MakeClicky
diff --git a/share/html/Elements/MakeClicky b/share/html/Elements/MakeClicky
index dabe3bb..854c93c 100644
--- a/share/html/Elements/MakeClicky
+++ b/share/html/Elements/MakeClicky
@@ -76,12 +76,12 @@ my %actions = (
my @types = (
{
name => "httpurl",
- regex => qr/$RE{URI}{HTTP}{-keep}{-scheme => 'https?'}(?:#\S+)?/,
+ regex => qr/$RE{URI}{HTTP}{-keep}{-scheme => 'https?'}(?:#\S+)?(?<![.?!,;:])/,
action => "url",
},
{
name => "httpurl_overwrite",
- regex => qr/$RE{URI}{HTTP}{-keep}{-scheme => 'https?'}(?:#\S+)?/,
+ regex => qr/$RE{URI}{HTTP}{-keep}{-scheme => 'https?'}(?:#\S+)?(?<![.?!,;:])/,
action => "url_overwrite",
},
);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list