aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-07-19 10:14:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-07-19 13:52:54 -0700
commitac1a46b0cb4206eb3d46e2f29f29d53b0489c184 (patch)
tree3619daba993b7a31a13a5f568a4f64ea079124a1 /src/Text/Pandoc/Readers
parent640814ac75da3f54822f12c013afdaef04163a27 (diff)
downloadpandoc-ac1a46b0cb4206eb3d46e2f29f29d53b0489c184.tar.gz
rawLaTeXBlock: never retokenize macroDef.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-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 facafe63d..c15312cd8 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -287,7 +287,7 @@ rawLaTeXBlock = do
lookAhead (try (char '\\' >> letter))
snd <$> (rawLaTeXParser False macroDef blocks
<|> rawLaTeXParser True
- (environment <|> macroDef <|> blockCommand)
+ (environment <|> blockCommand)
(mconcat <$> (many (block <|> beginOrEndCommand))))
-- See #4667 for motivation; sometimes people write macros