aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-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 58ed97b04..a34be46e2 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -420,7 +420,7 @@ blockTextcolor :: PandocMonad m => LP m Blocks
blockTextcolor = do
skipopts
color <- braced
- divWith ("",[],[("style","color: " ++ color)]) <$> grouped block
+ divWith ("",[],[("style","color: " ++ color)]) <$> grouped block <* notFollowedBy inline
graphicsPath :: PandocMonad m => LP m Blocks
graphicsPath = do