diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2019-02-01 21:17:46 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-01 21:17:46 -0800 |
| commit | 633a9ecfecd7a111d6727bd4c44750dbb3c9af23 (patch) | |
| tree | 9992326d40d693d644d253eeb1e26a4f5bfa6089 /test/command/ascii.md | |
| parent | b436087bc8b59222fe031910aa85fea88cd6b1eb (diff) | |
LaTeX writer: avoid `{}` after control sequences when escaping.
`\ldots{}.` doesn't behave as well as `\ldots.` with the latex
ellipsis package. This patch causes pandoc to avoid emitting
the `{}` when it is not necessary. Now `\ldots` and other
control sequences used in escaping will be followed by either
a `{}`, a space, or nothing, depending on context.
Thanks to Elliott Slaughter for the suggestion.
Diffstat (limited to 'test/command/ascii.md')
| -rw-r--r-- | test/command/ascii.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/ascii.md b/test/command/ascii.md index d01389a60..492bf248f 100644 --- a/test/command/ascii.md +++ b/test/command/ascii.md @@ -9,7 +9,7 @@ pandoc -t html --ascii pandoc -t latex --ascii äéıå ^D -\"{a}\'{e}\i \r{a} +\"{a}\'{e}\i\r{a} ``` ``` |
