Permalink
Browse files

Fixed lstlisting environment in LaTeX reader.

Closes jgm#443.
  • Loading branch information...
John MacFarlane
John MacFarlane committed Mar 10, 2012
1 parent 7253946 commit a7688447511feda6284b130d6b612e00410b0161
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Text/Pandoc/Readers/LaTeX.hs
@@ -717,7 +717,7 @@ environments = M.fromList
verbEnv "code"))
, ("verbatim", codeBlock <$> (verbEnv "verbatim"))
, ("Verbatim", codeBlock <$> (verbEnv "Verbatim"))
, ("lstlisting", codeBlock <$> (verbEnv "listlisting"))
, ("lstlisting", codeBlock <$> (verbEnv "lstlisting"))
, ("minted", liftA2 (\l c -> codeBlockWith ("",[l],[]) c)
(grouped (many1 $ satisfy (/= '}'))) (verbEnv "minted"))
, ("displaymath", mathEnv Nothing "displaymath")

0 comments on commit a768844

Please sign in to comment.