diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-03-10 12:33:55 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-03-10 12:33:55 -0800 |
commit | a7688447511feda6284b130d6b612e00410b0161 (patch) | |
tree | deb1a10935da93a5389000f3e84dfebe11ac1177 /src | |
parent | 72539463186f073df1ce7ec6a94a73b01a88ac88 (diff) | |
download | pandoc-a7688447511feda6284b130d6b612e00410b0161.tar.gz |
Fixed lstlisting environment in LaTeX reader.
Closes #443.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 9f5c8d666..2367f258e 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/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") |