aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-06-18 21:15:55 +0400
committerDmitry Shachnev <mitya57@gmail.com>2014-06-19 09:32:32 +0400
commit2d47fcedc08973b0250d29c456609c8a687037cd (patch)
tree2e3e36c68de508f8b0681646ee9cbee0d663c1e9 /tests/extensions
parent51857fd458c991a10c7a9d8797ba8fb03af2f4d8 (diff)
downloadmarkdown-2d47fcedc08973b0250d29c456609c8a687037cd.tar.gz
markdown-2d47fcedc08973b0250d29c456609c8a687037cd.tar.bz2
markdown-2d47fcedc08973b0250d29c456609c8a687037cd.zip
smarty: add support for angled quotes
See <http://en.wikipedia.org/wiki/Guillemet>.
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)