More smart escaping tests.

This commit is contained in:
John MacFarlane 2017-02-04 22:09:19 +01:00
parent 7404c83fb3
commit 396d304167

View file

@ -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”…dogs breath—cat 56
```
```
% 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
```