diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-23 23:05:34 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-23 23:05:34 +0000 |
commit | ddeadd1c02880367ad786b113d352a519f45ec73 (patch) | |
tree | 00b8b46ee1a3fc84e5492c2183dfaa8192d261f9 /desktop/save_text.c | |
parent | b20949a35025b23da1bf0ac6003f4575eb94281d (diff) | |
download | netsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.gz netsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.bz2 |
Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
Diffstat (limited to 'desktop/save_text.c')
-rw-r--r-- | desktop/save_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/save_text.c b/desktop/save_text.c index 535fec461..15f41702e 100644 --- a/desktop/save_text.c +++ b/desktop/save_text.c @@ -141,9 +141,9 @@ void save_text_solve_whitespace(struct box *box, bool *first, (box->type != BOX_INLINE && (box->parent && box->parent->list_marker == box)) || (box->parent->style && - (box->parent->style->white_space == + (css_computed_white_space(box->parent->style) == CSS_WHITE_SPACE_PRE || - box->parent->style->white_space == + css_computed_white_space(box->parent->style) == CSS_WHITE_SPACE_PRE_WRAP) && box->type == BOX_INLINE_CONTAINER))) { if (*before == WHITESPACE_ONE_NEW_LINE) |