aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2013-07-27 16:21:00 +0400
committerDmitry Shachnev <mitya57@gmail.com>2013-07-27 16:21:00 +0400
commit85ad18071d61925168387934e4e6f9f82462c292 (patch)
tree891a890d8de8452298bb18a8e4703c1940567947 /tests
parentc00f686313d656fb87842cf69541f09dce520dfa (diff)
downloadmarkdown-85ad18071d61925168387934e4e6f9f82462c292.tar.gz
markdown-85ad18071d61925168387934e4e6f9f82462c292.tar.bz2
markdown-85ad18071d61925168387934e4e6f9f82462c292.zip
Some fixes requested by @waylan, cleanup and tests improvements
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/smarty.html6
-rw-r--r--tests/extensions/smarty.txt7
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/extensions/smarty.html b/tests/extensions/smarty.html
index 2485ab7..fbd15af 100644
--- a/tests/extensions/smarty.html
+++ b/tests/extensions/smarty.html
@@ -7,10 +7,14 @@ one two &lsquo;60s<br />
&lsquo;60s</p>
<p>&ldquo;Isn&rsquo;t this fun&rdquo;? &mdash; she said&hellip;<br />
&ldquo;&lsquo;Quoted&rsquo; words in a larger quote.&rdquo;<br />
+&lsquo;Quoted &ldquo;words&rdquo; in a larger quote.&rsquo;<br />
&ldquo;quoted&rdquo; text and <strong>bold &ldquo;quoted&rdquo; text</strong><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>
<hr />
<p>Escaped -- ndash<br />
-Escaped ellipsis...</p> \ No newline at end of file
+'Escaped' "quotes"<br />
+Escaped ellipsis...</p>
+<p>&lsquo;Escaped "quotes" in real ones&rsquo;<br />
+'&ldquo;Real&rdquo; quotes in escaped ones'</p> \ No newline at end of file
diff --git a/tests/extensions/smarty.txt b/tests/extensions/smarty.txt
index 4015f71..5b5ece7 100644
--- a/tests/extensions/smarty.txt
+++ b/tests/extensions/smarty.txt
@@ -8,6 +8,7 @@ one two '60s
"Isn't this fun"? --- she said...
"'Quoted' words in a larger quote."
+'Quoted "words" in a larger quote.'
"quoted" text and **bold "quoted" text**
'quoted' text and **bold 'quoted' text**
em-dashes (---) and ellipes (...)
@@ -16,4 +17,8 @@ em-dashes (---) and ellipes (...)
--- -- ---
Escaped \-- ndash
-Escaped ellipsis\... \ No newline at end of file
+\'Escaped\' \"quotes\"
+Escaped ellipsis\...
+
+'Escaped \"quotes\" in real ones'
+\'"Real" quotes in escaped ones\' \ No newline at end of file