diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2016-05-04 23:16:23 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2016-05-04 23:16:23 +0200 |
commit | 405c3e9c36837226b0f714f241b115c72f0b8861 (patch) | |
tree | 5a7a42cd4ec440cc5010e065342e6d4d40190252 /tests/Tests/Readers | |
parent | cc9a9c7150250609919e06932aa3da6d4c04d3ff (diff) | |
download | pandoc-405c3e9c36837226b0f714f241b115c72f0b8861.tar.gz |
Org reader: fix spacing after LaTeX-style symbols
The org-reader was droping space after unescaped LaTeX-style symbol
commands: `\ForAll \Auml` resulted in `∀Ä` but should give `∀ Ä`
instead. This seems to be because the LaTeX-reader treats the
command-terminating space as part of the command. Dropping the trailing
space from the symbol-command fixes this issue.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index bb9b37d13..6112055ba 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -328,6 +328,10 @@ tests = "\\copy" =?> para "©" + , "MathML symbols, space separated" =: + "\\ForAll \\Auml" =?> + para "∀ Ä" + , "LaTeX citation" =: "\\cite{Coffee}" =?> let citation = Citation |