aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorMarc Schreiber <schrieveslaach@online.de>2017-05-04 16:48:27 +0200
committerMarc Schreiber <schrieveslaach@online.de>2017-05-04 16:48:27 +0200
commit4ed6d9165672917cb9450578c8f7d84121ecfc24 (patch)
tree7875ecbbbcf7a25aeef8e904e86fed7e15a7df14 /src/Text/Pandoc/Readers
parent1728d4e60983e050be4bfb5b8c2e6065b4dd198a (diff)
downloadpandoc-4ed6d9165672917cb9450578c8f7d84121ecfc24.tar.gz
\textcolor will be parse as span at the beginning of a paragraph
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 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