summaryrefslogtreecommitdiff
path: root/source/html/html-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/html-layout.c')
-rw-r--r--source/html/html-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index 4926dc51..6e9655db 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -316,7 +316,7 @@ static void generate_boxes(fz_context *ctx, fz_html_font_set *set, fz_archive *z
box = new_box(ctx);
fz_apply_css_style(ctx, set, &box->style, &match);
- if (display == DIS_BLOCK)
+ if (display == DIS_BLOCK || display == DIS_INLINE_BLOCK)
{
top = insert_block_box(ctx, box, top);
}