mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
More smart escaping tests.
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user