diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-04 22:09:19 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-04 22:09:19 +0100 |
commit | 396d304167c54ec9c67b152f8eb4d26b7ef88e31 (patch) | |
tree | 707496345f1f94f1943dce9ea0ab227c9467deb0 | |
parent | 7404c83fb3338e791b8ff0dc7a21346d67f3e322 (diff) | |
download | pandoc-396d304167c54ec9c67b152f8eb4d26b7ef88e31.tar.gz |
More smart escaping tests.
-rw-r--r-- | test/command/smart.md | 20 |
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 +``` |