aboutsummaryrefslogtreecommitdiffstats
path: root/table.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-25 16:39:52 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-25 16:39:52 +0000
commitd7b9195c5cf53fc7f0357a69f2651d61ff010fba (patch)
treeec25a26a0d8a37ff2de82a75d6cb34a5fc410f96 /table.c
parentupdate TODO (diff)
downloadw3m-d7b9195c5cf53fc7f0357a69f2651d61ff010fba.tar.gz
w3m-d7b9195c5cf53fc7f0357a69f2651d61ff010fba.zip
[w3m-dev 03476] Re: Bug#170506: w3m: Unable to use mozilla bugzilla
* file.c (HTMLtagproc1): initialize ignore_tag in table_mode (HTMLtagproc0): check table_level * table.c (feed_table_tag): set mode->ignore_tag * table.h (struct table_mode): add ignore_tag From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'table.c')
-rw-r--r--table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/table.c b/table.c
index 4842b4b..afcf6a2 100644
--- a/table.c
+++ b/table.c
@@ -1,4 +1,4 @@
-/* $Id: table.c,v 1.30 2002/11/15 16:00:33 ukai Exp $ */
+/* $Id: table.c,v 1.31 2002/11/25 16:39:53 ukai Exp $ */
/*
* HTML table
*/
@@ -2969,9 +2969,11 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
break;
case HTML_SCRIPT:
mode->pre_mode |= TBLM_SCRIPT;
+ mode->ignore_tag = Strnew_charp("</script>");
break;
case HTML_STYLE:
mode->pre_mode |= TBLM_STYLE;
+ mode->ignore_tag = Strnew_charp("</style>");
break;
case HTML_N_A:
table_close_anchor0(tbl, mode);