From fdaae5aec5bf31ae2f4fa1612e4263fb91ded4c0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 8 Oct 2017 09:53:03 -0700 Subject: Small logic fix. --- src/Text/Pandoc/Readers/LaTeX.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Text/Pandoc') 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 -- cgit v1.2.3