summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2006-04-04 10:56:21 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2006-04-04 10:56:21 +0000
commite32213f5e437abf86e203587a46e47b74331ce29 (patch)
treec876be0385084c84f7af19ac3f161d38352a24fd /render/box.h
parentcb243c85654c28d528ee058928e1e5cb899f6066 (diff)
downloadnetsurf-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.h4
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. */