diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-12-15 09:45:29 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-12-15 09:45:29 -0800 |
commit | 044d58bb24cf41493222a14612e2de4f8d05ea6a (patch) | |
tree | 7eccdd8ace65b6de7dd293cfb69604277d790da0 /test | |
parent | 61133b52687ac96dd4171d189d9770cae2ae7a6c (diff) | |
download | pandoc-044d58bb24cf41493222a14612e2de4f8d05ea6a.tar.gz |
Fixed regression in LateX tokenization.
This mainly affects the Markdown reader when parsing
raw LaTeX with escaped spaces. Closes #4159.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/4159.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command/4159.md b/test/command/4159.md new file mode 100644 index 000000000..4881edcc5 --- /dev/null +++ b/test/command/4159.md @@ -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"]] +``` |