aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-08 09:53:03 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-08 09:53:03 -0700
commitfdaae5aec5bf31ae2f4fa1612e4263fb91ded4c0 (patch)
treecf0cdf9f7205d62a8dd9770bdd6752cf9b26587c /src/Text/Pandoc
parentf176ad6f21aa02884f628082c05eecb76816d014 (diff)
downloadpandoc-fdaae5aec5bf31ae2f4fa1612e4263fb91ded4c0.tar.gz
Small logic fix.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 8555d2eea..9ad4c599f 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -2104,8 +2104,7 @@ rawEnv name = do
then return $ rawBlock "latex"
$ T.unpack $ beginCommand <> untokenize raw
else do
- unless parseRaw $ do
- report $ SkippedContent (T.unpack beginCommand) pos1
+ report $ SkippedContent (T.unpack beginCommand) pos1
pos2 <- getPosition
report $ SkippedContent ("\\end{" ++ T.unpack name ++ "}") pos2
return bs