aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-06-19 07:53:17 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-06-19 07:53:17 -0400
commit819be506a669713354a96b478b2175396fe75d9c (patch)
tree2e3e36c68de508f8b0681646ee9cbee0d663c1e9 /tests/extensions
parent51857fd458c991a10c7a9d8797ba8fb03af2f4d8 (diff)
parent2d47fcedc08973b0250d29c456609c8a687037cd (diff)
downloadmarkdown-819be506a669713354a96b478b2175396fe75d9c.tar.gz
markdown-819be506a669713354a96b478b2175396fe75d9c.tar.bz2
markdown-819be506a669713354a96b478b2175396fe75d9c.zip
Merge pull request #319 from mitya57/master
smarty: add support for angled quotes
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/smarty.html2
-rw-r--r--tests/extensions/smarty.txt3
-rw-r--r--tests/extensions/test.cfg2
3 files changed, 6 insertions, 1 deletions
diff --git a/tests/extensions/smarty.html b/tests/extensions/smarty.html
index 16aba6d..c0459d9 100644
--- a/tests/extensions/smarty.html
+++ b/tests/extensions/smarty.html
@@ -14,6 +14,8 @@ one two &lsquo;60s<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>
+<p>Кавычки-&laquo;ёлочки&raquo;<br />
+Anführungszeichen-&raquo;Chevrons&laquo;</p>
<hr />
<p>Escaped -- ndash<br />
'Escaped' "quotes"<br />
diff --git a/tests/extensions/smarty.txt b/tests/extensions/smarty.txt
index 00dc1a2..1cee803 100644
--- a/tests/extensions/smarty.txt
+++ b/tests/extensions/smarty.txt
@@ -17,6 +17,9 @@ em-dashes (---) and ellipes (...)
"Ellipsis within quotes..."
+Кавычки-<<ёлочки>>
+Anführungszeichen->>Chevrons<<
+
--- -- ---
Escaped \-- ndash
diff --git a/tests/extensions/test.cfg b/tests/extensions/test.cfg
index 8b0d748..c05a64e 100644
--- a/tests/extensions/test.cfg
+++ b/tests/extensions/test.cfg
@@ -40,4 +40,4 @@ extensions=nl2br,attr_list
extensions=admonition
[smarty]
-extensions=smarty
+extensions=smarty(smart_angled_quotes=1)