From 044d58bb24cf41493222a14612e2de4f8d05ea6a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 15 Dec 2017 09:45:29 -0800 Subject: Fixed regression in LateX tokenization. This mainly affects the Markdown reader when parsing raw LaTeX with escaped spaces. Closes #4159. --- test/command/4159.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/command/4159.md (limited to 'test') 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"]] +``` -- cgit v1.2.3