From 03d80ccd38118d6e75e7d81e62545e95ed5fea3c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 14 Mar 2023 19:36:36 -0700 Subject: Remove confusing comment. --- src/Text/Pandoc/Writers/HTML.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index adc3f491d..1695c1897 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -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 -- cgit v1.2.3