aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorMarc Schreiber <marc.schreiber@fh-aachen.de>2017-05-03 13:39:38 +0200
committerMarc Schreiber <marc.schreiber@fh-aachen.de>2017-05-03 13:39:38 +0200
commit1728d4e60983e050be4bfb5b8c2e6065b4dd198a (patch)
tree08c1676949702de6635a37c286aab414c9c634e1 /src/Text/Pandoc/Readers
parentd9439808f2fe226aad027c8c9d0a38217a1e8c34 (diff)
downloadpandoc-1728d4e60983e050be4bfb5b8c2e6065b4dd198a.tar.gz
\textcolor works as inline and block command
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 1c1aa4c62..58ed97b04 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
- return <$> divWith ("",[],[("style","color: " ++ color)]) $ block
+ divWith ("",[],[("style","color: " ++ color)]) <$> grouped block
graphicsPath :: PandocMonad m => LP m Blocks
graphicsPath = do