summaryrefslogtreecommitdiff
path: root/render/box_normalise.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_normalise.c')
-rw-r--r--render/box_normalise.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/box_normalise.c b/render/box_normalise.c
index 05e2f2d76..c67fe285d 100644
--- a/render/box_normalise.c
+++ b/render/box_normalise.c
@@ -643,6 +643,10 @@ bool box_normalise_inline_container(struct box *cont, struct content * c)
next_child = child->next;
switch (child->type) {
case BOX_INLINE:
+ /* correct end_inline_children to the box after the
+ * last inline child (see box_construct_element()) */
+ child->end_inline_children =
+ child->end_inline_children->next;
case BOX_BR:
case BOX_TEXT:
/* ok */