Fixed regression in LateX tokenization.

This mainly affects the Markdown reader when parsing
raw LaTeX with escaped spaces.  Closes #4159.
This commit is contained in:
John MacFarlane
2017-12-15 09:45:29 -08:00
parent 61133b5268
commit 044d58bb24
2 changed files with 10 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
```
% pandoc -f markdown -t native
\newcommand{\gen}{a\ Gen\ b}
abc
^D
[RawBlock (Format "latex") "\\newcommand{\\gen}{a\\ Gen\\ b}"
,Para [Str "abc"]]
```