git.iko.soy/typeable/pandoc
on master help sign in
Small logic fix.
fdaae5aJohn MacFarlane
src/Text/Pandoc/Readers/LaTeX.hs+1−2
@@ -2104,8 +2104,7 @@ rawEnv name = do
2104 then return $ rawBlock "latex"
2104 then return $ rawBlock "latex"
2105 $ T.unpack $ beginCommand <> untokenize raw
2105 $ T.unpack $ beginCommand <> untokenize raw
2106 else do
2106 else do
2107− unless parseRaw $ do
2108− report $ SkippedContent (T.unpack beginCommand) pos1
2107+ report $ SkippedContent (T.unpack beginCommand) pos1
2109 pos2 <- getPosition
2108 pos2 <- getPosition
2110 report $ SkippedContent ("\\end{" ++ T.unpack name ++ "}") pos2
2109 report $ SkippedContent ("\\end{" ++ T.unpack name ++ "}") pos2
2111 return bs
2110 return bs