jgm/pandoc — Issue #439: Parse fail on underscores in raw TeX
Author: glutamate
Created: 2012-03-08 11:02:50+00:00
State: open

Pandoc 1.9.1.1 fails on this document

--Begin file test.md

\# Hello World

\begin{code}
isWeekend Sat = True
isWeekend Sun = True
isWeekend _ = False
\end{code}

--End file

tomn@tomn-desktop:~/tmp$ /usr/local/bin/pandoc --to=latex test.md
pandoc:
Error:
"source" (line 6, column 12):
unexpected " "
expecting "{" or "\\"

This worked in pandic 1.8.x. Something to do with "improved handling of underscores" in 1.9?