Skip to content

Commit 8aba884

Browse files
committed
Flatten figures in HTML.
1 parent 82863be commit 8aba884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Pandoc/Writers/HTML.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ blockToHtml opts (DefinitionList lst) = do
993993
defList opts contents
994994
blockToHtml opts (Table attr caption colspecs thead tbody tfoot) =
995995
tableToHtml opts (Ann.toTable attr caption colspecs thead tbody tfoot)
996-
blockToHtml _ (Figure {}) = return mempty
996+
blockToHtml opts (Figure attrs _ body) = blockToHtml opts $ Div attrs body
997997

998998
tableToHtml :: PandocMonad m
999999
=> WriterOptions

0 commit comments

Comments
 (0)