From 663546de4cb60a51b04704ef080387ca8eca62a2 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Tue, 6 May 2014 21:21:39 +0400 Subject: Add smarty to extensions for attr_list test To make it easier to notice (and fix) the failure. --- tests/extensions/test.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/extensions') diff --git a/tests/extensions/test.cfg b/tests/extensions/test.cfg index 494d79b..8b0d748 100644 --- a/tests/extensions/test.cfg +++ b/tests/extensions/test.cfg @@ -1,5 +1,5 @@ [attr_list] -extensions=attr_list,def_list +extensions=attr_list,def_list,smarty [codehilite] extensions=codehilite -- cgit v1.2.3 From 8be0d1f517a0857b69763fd3bad1875badede2d2 Mon Sep 17 00:00:00 2001 From: Lawrence Kesteloot Date: Sat, 31 May 2014 18:58:11 -0700 Subject: Add failing unit test for smarty: ellipsis before close double quote generates opening double quote. --- tests/extensions/smarty.html | 1 + tests/extensions/smarty.txt | 2 ++ 2 files changed, 3 insertions(+) (limited to 'tests/extensions') 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 ‘60s
‘quoted’ text and bold ‘quoted’ text
em-dashes (—) and ellipes (…)
Link” — she said.

+

“Ellipsis within quotes…”


Escaped -- ndash
'Escaped' "quotes"
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 -- cgit v1.2.3 From 2d47fcedc08973b0250d29c456609c8a687037cd Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Wed, 18 Jun 2014 21:15:55 +0400 Subject: smarty: add support for angled quotes See . --- tests/extensions/smarty.html | 2 ++ tests/extensions/smarty.txt | 3 +++ tests/extensions/test.cfg | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/extensions') 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 ‘60s
em-dashes (—) and ellipes (…)
Link” — she said.

“Ellipsis within quotes…”

+

Кавычки-«ёлочки»
+Anführungszeichen-»Chevrons«


Escaped -- ndash
'Escaped' "quotes"
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) -- cgit v1.2.3