diff options
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index ead01acf0..0523cf9db 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2700,7 +2700,9 @@ bool layout_line(struct box *first, int *width, int *y, size_t space = 0; int w; bool no_wrap = css_computed_white_space( - split_box->style) == CSS_WHITE_SPACE_NOWRAP; + split_box->style) == CSS_WHITE_SPACE_NOWRAP || + css_computed_white_space( + split_box->style) == CSS_WHITE_SPACE_PRE; x = x_previous; |