summaryrefslogtreecommitdiff
path: root/source/html/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/layout.c')
-rw-r--r--source/html/layout.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/html/layout.c b/source/html/layout.c
index 2cb2ced4..3439ccdb 100644
--- a/source/html/layout.c
+++ b/source/html/layout.c
@@ -242,6 +242,10 @@ static void generate_boxes(html_document *doc, fz_xml *node, struct box *top, st
{
top = insert_block_box(ctx, box, top);
}
+ else if (display == DIS_LIST_ITEM)
+ {
+ top = insert_block_box(ctx, box, top);
+ }
else if (display == DIS_INLINE)
{
insert_inline_box(ctx, box, top);
@@ -256,6 +260,7 @@ static void generate_boxes(html_document *doc, fz_xml *node, struct box *top, st
generate_boxes(doc, fz_xml_down(node), box, rule, &style);
compute_style(doc, &box->style, &style);
+
// TODO: remove empty flow boxes
}
}