diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-08 09:53:03 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-08 09:53:03 -0700 |
commit | fdaae5aec5bf31ae2f4fa1612e4263fb91ded4c0 (patch) | |
tree | cf0cdf9f7205d62a8dd9770bdd6752cf9b26587c /src/Text | |
parent | f176ad6f21aa02884f628082c05eecb76816d014 (diff) | |
download | pandoc-fdaae5aec5bf31ae2f4fa1612e4263fb91ded4c0.tar.gz |
Small logic fix.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 3 |
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 |