aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-04 22:09:19 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-04 22:09:19 +0100
commit396d304167c54ec9c67b152f8eb4d26b7ef88e31 (patch)
tree707496345f1f94f1943dce9ea0ab227c9467deb0 /test
parent7404c83fb3338e791b8ff0dc7a21346d67f3e322 (diff)
downloadpandoc-396d304167c54ec9c67b152f8eb4d26b7ef88e31.tar.gz
More smart escaping tests.
Diffstat (limited to 'test')
-rw-r--r--test/command/smart.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/command/smart.md b/test/command/smart.md
index 541275f4a..e64d67de2 100644
--- a/test/command/smart.md
+++ b/test/command/smart.md
@@ -22,4 +22,24 @@ When we render literal quotes without smart, we need to escape:
\"hi\"\...dog\'s breath\-\--cat 5\--6
```
+```
+% pandoc -f markdown+smart -t rst-smart
+"hi"...dog's breath---cat 5--6
+^D
+“hi”…dog’s breath—cat 5–6
+```
+
+```
+% pandoc -f markdown+smart -t rst+smart
+"hi"...dog's breath---cat 5--6
+^D
+"hi"...dog's breath---cat 5--6
+```
+
+```
+% pandoc -f markdown-smart -t rst+smart
+"hi"...dog's breath---cat 5--6
+^D
+\"hi\"\...dog\'s breath\-\--cat 5\--6
+```