diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2006-04-04 10:56:21 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2006-04-04 10:56:21 +0000 |
commit | e32213f5e437abf86e203587a46e47b74331ce29 (patch) | |
tree | c876be0385084c84f7af19ac3f161d38352a24fd /render/box.h | |
parent | cb243c85654c28d528ee058928e1e5cb899f6066 (diff) | |
download | netsurf-e32213f5e437abf86e203587a46e47b74331ce29.tar.gz netsurf-e32213f5e437abf86e203587a46e47b74331ce29.tar.bz2 |
[project @ 2006-04-04 10:56:21 by dsilvers]
New way to do the <pre> newline stripping to cope with tags in the <pre>
svn path=/import/netsurf/; revision=2486
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h index 3c62ecffe..5a82830db 100644 --- a/render/box.h +++ b/render/box.h @@ -163,6 +163,10 @@ struct box { /** This box is a continuation of the previous box (eg from line * breaking). */ unsigned int clone : 1; + /** This box represents a <pre> tag which has not yet had its white + * space stripped if possible + */ + unsigned int strip_leading_newline : 1; char *href; /**< Link, or 0. */ const char *target; /**< Link target, or 0. */ |