mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Fix layout of standalone <br>.
svn path=/trunk/netsurf/; revision=2849
This commit is contained in:
parent
5295d21743
commit
304616a797
@ -817,7 +817,7 @@ bool layout_inline_container(struct box *inline_container, int width,
|
||||
|
||||
has_text_children = false;
|
||||
for (c = inline_container->children; c; c = c->next)
|
||||
if (!c->object && c->text && c->length)
|
||||
if ((!c->object && c->text && c->length) || c->type == BOX_BR)
|
||||
has_text_children = true;
|
||||
|
||||
for (c = inline_container->children; c; ) {
|
||||
|
Loading…
Reference in New Issue
Block a user