Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release-src > by-pkgid > 50ba565a0f9251dccb3a2ca8ec543f44 > files > 1

perl-HTML-StripScripts-1.50.0-8.mga6.src.rpm

From 48eaa9d94e70c98f36349840cc484e86531b307b Mon Sep 17 00:00:00 2001
From: Brian Fraser <fraserbn@gmail.com>
Date: Sun, 17 Aug 2014 17:57:57 +0200
Subject: [PATCH] Typo in the _hss_attval_size regex

---
 StripScripts.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/StripScripts.pm b/StripScripts.pm
index fa6922d..251b49b 100644
--- a/StripScripts.pm
+++ b/StripScripts.pm
@@ -1630,7 +1630,7 @@ size or length.
 
 sub _hss_attval_size {
     $_[3]
-        =~ /^\s*([+-]?\d{1,20}(?:\.\d{1,20)?)\s*((?:\%|\*|ex|px|pc|cm|mm|in|pt|em)?)\s*$/i
+        =~ /^\s*([+-]?\d{1,20}(?:\.\d{1,20})?)\s*((?:\%|\*|ex|px|pc|cm|mm|in|pt|em)?)\s*$/i
         ? lc "$1$2"
         : undef;
 }
-- 
1.7.12.4 (Apple Git-37)