aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLawrence Kesteloot <lk@teamten.com>2014-05-31 18:58:11 -0700
committerLawrence Kesteloot <lk@teamten.com>2014-05-31 18:58:11 -0700
commit8be0d1f517a0857b69763fd3bad1875badede2d2 (patch)
tree2de4d13f0769d6c088e96a569cd852a504126554
parent8faef1620823eb10e3a76711621f53782f7fe36b (diff)
downloadmarkdown-8be0d1f517a0857b69763fd3bad1875badede2d2.tar.gz
markdown-8be0d1f517a0857b69763fd3bad1875badede2d2.tar.bz2
markdown-8be0d1f517a0857b69763fd3bad1875badede2d2.zip
Add failing unit test for smarty: ellipsis before close double quote generates opening double quote.
-rw-r--r--tests/extensions/smarty.html1
-rw-r--r--tests/extensions/smarty.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/extensions/smarty.html b/tests/extensions/smarty.html
index 6b5e698..16aba6d 100644
--- a/tests/extensions/smarty.html
+++ b/tests/extensions/smarty.html
@@ -13,6 +13,7 @@ one two &lsquo;60s<br />
&lsquo;quoted&rsquo; text and <strong>bold &lsquo;quoted&rsquo; text</strong><br />
em-dashes (&mdash;) and ellipes (&hellip;)<br />
&ldquo;<a href="http://example.com">Link</a>&rdquo; &mdash; she said.</p>
+<p>&ldquo;Ellipsis within quotes&hellip;&rdquo;</p>
<hr />
<p>Escaped -- ndash<br />
'Escaped' "quotes"<br />
diff --git a/tests/extensions/smarty.txt b/tests/extensions/smarty.txt
index fbf4d03..00dc1a2 100644
--- a/tests/extensions/smarty.txt
+++ b/tests/extensions/smarty.txt
@@ -15,6 +15,8 @@ It's fun. What's fun?
em-dashes (---) and ellipes (...)
"[Link](http://example.com)" --- she said.
+"Ellipsis within quotes..."
+
--- -- ---
Escaped \-- ndash