diff options
author | James Bursa <james@netsurf-browser.org> | 2002-06-26 23:27:30 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2002-06-26 23:27:30 +0000 |
commit | df3341cb4305831a94c9983219f4a814406dc692 (patch) | |
tree | 4a56a12267cd9bb7132be6c0876035c766a55da9 /render/render.c | |
parent | 900a3a9b241698b50b0a5276198f644304085100 (diff) | |
download | netsurf-df3341cb4305831a94c9983219f4a814406dc692.tar.gz netsurf-df3341cb4305831a94c9983219f4a814406dc692.tar.bz2 |
[project @ 2002-06-26 23:27:30 by bursa]
Implied table elements and colspan implemented.
svn path=/import/netsurf/; revision=24
Diffstat (limited to 'render/render.c')
-rw-r--r-- | render/render.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/render/render.c b/render/render.c index 6a92d45cf..e4d5b1b76 100644 --- a/render/render.c +++ b/render/render.c @@ -1,5 +1,5 @@ /** - * $Id: render.c,v 1.15 2002/06/26 12:19:24 bursa Exp $ + * $Id: render.c,v 1.16 2002/06/26 23:27:30 bursa Exp $ */ #include <assert.h> @@ -102,7 +102,7 @@ void render_dump(struct box * box, unsigned long x, unsigned long y) case BOX_TABLE_ROW: case BOX_TABLE_CELL: case BOX_FLOAT: - case BOX_BLOCK: name = (const char *) box->node->name; + case BOX_BLOCK: if (box->node) name = (const char *) box->node->name; break; case BOX_INLINE: case BOX_INLINE_CONTAINER: @@ -117,6 +117,10 @@ void render_dump(struct box * box, unsigned long x, unsigned long y) for (i = 0; i < box->length; i++) { if (box->text[i] == '"') printf("\\\""); + else if (box->text[i] == '[') + printf("\\["); + else if (box->text[i] == '$') + printf("\\$"); else printf("%c", box->text[i]); } |