[Bps-public-commit] RT-Extension-rt_cpan_org branch, master, updated. db31d3b2e1c63233c11531ef193c05780ab58d1b
Thomas Sibley
trs at bestpractical.com
Tue Jul 23 01:31:42 EDT 2013
The branch, master has been updated
via db31d3b2e1c63233c11531ef193c05780ab58d1b (commit)
from 1314b323bc7386abc2ce9745d9c766508292f761 (commit)
Summary of changes:
patches/4.0.15-avoid-linking-punctuation.patch | 31 ++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 patches/4.0.15-avoid-linking-punctuation.patch
- Log -----------------------------------------------------------------
commit db31d3b2e1c63233c11531ef193c05780ab58d1b
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Jul 22 22:31:28 2013 -0700
Patch to avoid linking punctuation
diff --git a/patches/4.0.15-avoid-linking-punctuation.patch b/patches/4.0.15-avoid-linking-punctuation.patch
new file mode 100644
index 0000000..30d0111
--- /dev/null
+++ b/patches/4.0.15-avoid-linking-punctuation.patch
@@ -0,0 +1,31 @@
+From 2c8ed76665d5536df7d76bdb10a7f2dee92b8082 Mon Sep 17 00:00:00 2001
+From: Thomas Sibley <trs at bestpractical.com>
+Date: Mon, 22 Jul 2013 22:29:13 -0700
+Subject: [PATCH] Avoid linking trailing punctuation in MakeClicky
+
+---
+ share/html/Elements/MakeClicky | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+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",
+ },
+ );
+--
+1.8.3.2
+
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list