Remove confusing comment.

This commit is contained in:
John MacFarlane
2023-03-14 19:36:36 -07:00
parent 7ce7c74711
commit 03d80ccd38
-2
View File
@@ -1056,8 +1056,6 @@ blockToHtmlInner opts (Figure attrs (Caption _ captBody) body) = do
-- the block if necessary.
blockToHtml :: PandocMonad m => WriterOptions -> Block -> StateT WriterState m Html
blockToHtml opts block = do
-- Ignore inserted section divs -- they are not blocks as they came from
-- the document itself (at least not when coming from markdown)
let isSection = case block of
Div (_, classes, _) _ | "section" `elem` classes -> True
_ -> False