aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-03-10 12:33:55 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-03-10 12:33:55 -0800
commita7688447511feda6284b130d6b612e00410b0161 (patch)
treedeb1a10935da93a5389000f3e84dfebe11ac1177 /src
parent72539463186f073df1ce7ec6a94a73b01a88ac88 (diff)
downloadpandoc-a7688447511feda6284b130d6b612e00410b0161.tar.gz
Fixed lstlisting environment in LaTeX reader.
Closes #443.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
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")