From c906d6db38edf68ec45cd412bf3277f1328949f2 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Fri, 19 Jun 2015 15:19:20 +0300 Subject: Add a test to make sure quotes processor does not touch code blocks --- tests/extensions/smarty.html | 2 +- tests/extensions/smarty.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/extensions/smarty.html b/tests/extensions/smarty.html index a4ec1a0..50cf774 100644 --- a/tests/extensions/smarty.html +++ b/tests/extensions/smarty.html @@ -24,7 +24,7 @@ Anführungszeichen-»Chevrons«

Escaped ellipsis...

‘Escaped "quotes" in real ones’
'“Real” quotes in escaped ones'

-

Skip "code" -- --- 'spans' ....

+

Skip <<all>> "code" -- --- 'spans' ....

Also skip "code" 'blocks'
 foo -- bar --- baz ...
 
\ No newline at end of file diff --git a/tests/extensions/smarty.txt b/tests/extensions/smarty.txt index d7cba6a..f2f4041 100644 --- a/tests/extensions/smarty.txt +++ b/tests/extensions/smarty.txt @@ -31,7 +31,7 @@ Escaped ellipsis\... 'Escaped \"quotes\" in real ones' \'"Real" quotes in escaped ones\' -Skip `"code" -- --- 'spans' ...`. +Skip `<> "code" -- --- 'spans' ...`. Also skip "code" 'blocks' foo -- bar --- baz ... -- cgit v1.2.3 From 644e32c2b130f29cb16e154b1e0c281575c10427 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sat, 20 Jun 2015 15:45:30 +0300 Subject: Add a test for duplicate angled quotes without smarty extension --- tests/basic/inline-html-simple.html | 3 ++- tests/basic/inline-html-simple.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/basic/inline-html-simple.html b/tests/basic/inline-html-simple.html index 2159e1d..0f2633c 100644 --- a/tests/basic/inline-html-simple.html +++ b/tests/basic/inline-html-simple.html @@ -57,4 +57,5 @@ Blah
-

weird stuff>

\ No newline at end of file +

weird stuff>

+

> <> <

\ No newline at end of file diff --git a/tests/basic/inline-html-simple.txt b/tests/basic/inline-html-simple.txt index 7210750..359aca4 100644 --- a/tests/basic/inline-html-simple.txt +++ b/tests/basic/inline-html-simple.txt @@ -68,3 +68,5 @@ Hr's:
+ +> <> < \ No newline at end of file -- cgit v1.2.3