diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-03-14 19:36:36 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-03-14 19:36:36 -0700 |
| commit | 03d80ccd38118d6e75e7d81e62545e95ed5fea3c (patch) | |
| tree | d2ce2249dc97bcfff8e51aa6fed2a05754d52e81 /src/Text | |
| parent | 7ce7c7471120b1b77bb4595da5e9dbc936674d23 (diff) | |
Remove confusing comment.
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/Writers/HTML.hs | 2 |
1 files changed, 0 insertions, 2 deletions
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 |
