From cf7234dea91637de77179bf6e00c66e15c06f070 Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev
Date: Wed, 18 Mar 2015 22:36:57 +0300
Subject: smarty: Add back special case for decade abbreviations
The previous version did not work, and was incorrectly removed as part of
85ad18071d619251. In the new version, use lookbehind search for \w instead
of \b, so that it works.
Update the tests accordingly.
Fixes #399 (except parts that we can't fix). Thanks @gandaro for the report.
---
tests/extensions/smarty.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
(limited to 'tests/extensions/smarty.html')
diff --git a/tests/extensions/smarty.html b/tests/extensions/smarty.html
index 6305060..d41e467 100644
--- a/tests/extensions/smarty.html
+++ b/tests/extensions/smarty.html
@@ -1,11 +1,11 @@
-’.
+
’.
1440–80’s
-1440–‘80s
-1440—‘80s
+1440–’80s
+1440—’80s
1960s
1960’s
-one two ‘60s
-‘60s
+one two ’60s
+’60s
It’s fun. What’s fun?
“Isn’t this fun”? — she said…
“‘Quoted’ words in a larger quote.”
--
cgit v1.2.3