aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Altmayer <altmayer@posteo.de>2014-08-11 20:04:49 +0200
committerMartin Altmayer <altmayer@posteo.de>2014-08-11 20:05:41 +0200
commit927ad008b51e5fa265b6e8497805ff09ec098d65 (patch)
tree73ec862bd033ba0d498b1112fb56d211b8f4920b /tests
parentaf85029ca443609b803ebc83e806c1ee115db900 (diff)
downloadmarkdown-927ad008b51e5fa265b6e8497805ff09ec098d65.tar.gz
markdown-927ad008b51e5fa265b6e8497805ff09ec098d65.tar.bz2
markdown-927ad008b51e5fa265b6e8497805ff09ec098d65.zip
Fixed an old typo in the smarty extension and added a test case.
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/smarty.html3
-rw-r--r--tests/extensions/smarty.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/extensions/smarty.html b/tests/extensions/smarty.html
index c0459d9..0907a73 100644
--- a/tests/extensions/smarty.html
+++ b/tests/extensions/smarty.html
@@ -1,4 +1,5 @@
-<p>1440&ndash;80&rsquo;s<br />
+<p>&rsquo;.
+1440&ndash;80&rsquo;s<br />
1440&ndash;&lsquo;80s<br />
1440&mdash;&lsquo;80s<br />
1960s<br />
diff --git a/tests/extensions/smarty.txt b/tests/extensions/smarty.txt
index 1cee803..3b034cf 100644
--- a/tests/extensions/smarty.txt
+++ b/tests/extensions/smarty.txt
@@ -1,3 +1,4 @@
+'.
1440--80's
1440--'80s
1440---'80s