summaryrefslogtreecommitdiff
path: root/test/test_transforms
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_transforms')
-rw-r--r--test/test_transforms/test_smartquotes.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_transforms/test_smartquotes.py b/test/test_transforms/test_smartquotes.py
index 26388e929..125bc6350 100644
--- a/test/test_transforms/test_smartquotes.py
+++ b/test/test_transforms/test_smartquotes.py
@@ -52,6 +52,17 @@ u"""\
“‘nested’ smart” quotes
– and —also long— dashes.
"""],
+[r"""Escaped \\"smart quotes\\", \\'single smart quotes\\',
+\\"\\'nested\\' smart\\" quotes
+\\-- and -\\--also long-\\-- dashes.
+""",
+u"""\
+<document source="test data">
+ <paragraph>
+ Escaped "smart quotes", 'single smart quotes',
+ "'nested' smart" quotes
+ -- and ---also long--- dashes.
+"""],
["""\
Do not "educate" quotes ``inside "literal" text`` and ::