mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 17:26:32 +00:00
Small logic fix.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user