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 /src/Text/Pandoc/Writers/DokuWiki.hs | |
| parent | b436087bc8b59222fe031910aa85fea88cd6b1eb (diff) | |
| download | pandoc-633a9ecfecd7a111d6727bd4c44750dbb3c9af23.tar.gz | |
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 'src/Text/Pandoc/Writers/DokuWiki.hs')
0 files changed, 0 insertions, 0 deletions
