aboutsummaryrefslogtreecommitdiff
path: root/test/command/4159.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-15 09:45:29 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-15 09:45:29 -0800
commit044d58bb24cf41493222a14612e2de4f8d05ea6a (patch)
tree7eccdd8ace65b6de7dd293cfb69604277d790da0 /test/command/4159.md
parent61133b52687ac96dd4171d189d9770cae2ae7a6c (diff)
downloadpandoc-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/command/4159.md')
-rw-r--r--test/command/4159.md8
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"]]
+```