aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/smarty.html
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2015-03-18 22:36:57 +0300
committerDmitry Shachnev <mitya57@gmail.com>2015-03-18 22:40:57 +0300
commitcf7234dea91637de77179bf6e00c66e15c06f070 (patch)
treee50033034b6ef5a1ec007313e7d127835cd8ad30 /tests/extensions/smarty.html
parent04479ee7a6c3a6f1efe9410202cc5c2d467385ee (diff)
downloadmarkdown-cf7234dea91637de77179bf6e00c66e15c06f070.tar.gz
markdown-cf7234dea91637de77179bf6e00c66e15c06f070.tar.bz2
markdown-cf7234dea91637de77179bf6e00c66e15c06f070.zip
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.
Diffstat (limited to 'tests/extensions/smarty.html')
-rw-r--r--tests/extensions/smarty.html10
1 files changed, 5 insertions, 5 deletions
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 @@
-<p>&rsquo;.
+<p>&rsquo;.<br />
1440&ndash;80&rsquo;s<br />
-1440&ndash;&lsquo;80s<br />
-1440&mdash;&lsquo;80s<br />
+1440&ndash;&rsquo;80s<br />
+1440&mdash;&rsquo;80s<br />
1960s<br />
1960&rsquo;s<br />
-one two &lsquo;60s<br />
-&lsquo;60s</p>
+one two &rsquo;60s<br />
+&rsquo;60s</p>
<p>It&rsquo;s fun. What&rsquo;s fun?<br />
&ldquo;Isn&rsquo;t this fun&rdquo;? &mdash; she said&hellip;<br />
&ldquo;&lsquo;Quoted&rsquo; words in a larger quote.&rdquo;<br />