mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 10:16:32 +00:00
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:
@@ -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"]]
|
||||
```
|
||||
Reference in New Issue
Block a user