diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | table.c | 13 |
2 files changed, 15 insertions, 5 deletions
@@ -1,5 +1,10 @@ 2006-04-08 Dai Sato <satodai@w3m.jp> + * [w3m-dev 04154] Unclosed textarea in table + * table.c: close textarea when table related tags found. + +2006-04-08 Dai Sato <satodai@w3m.jp> + * [w3m-dev 04153] NEXT_LINK error * anchor.c, filc.c, fm.h: check A tag in HTMLlineproc2body(). @@ -8703,4 +8708,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.959 2006/04/08 11:33:16 inu Exp $ +$Id: ChangeLog,v 1.960 2006/04/08 11:51:59 inu Exp $ @@ -1,4 +1,4 @@ -/* $Id: table.c,v 1.52 2006/04/07 13:35:35 inu Exp $ */ +/* $Id: table.c,v 1.53 2006/04/08 11:52:02 inu Exp $ */ /* * HTML table */ @@ -2465,11 +2465,16 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode, return TAG_ACTION_PLAIN; } if (mode->pre_mode & TBLM_INTXTA) { - if (mode->end_tag == cmd) { + switch (cmd) { + CASE_TABLE_TAG: + case HTML_N_TEXTAREA: table_close_textarea(tbl, mode, width); - return TAG_ACTION_NONE; + if (cmd == HTML_N_TEXTAREA) + return TAG_ACTION_NONE; + break; + default: + return TAG_ACTION_FEED; } - return TAG_ACTION_FEED; } if (mode->pre_mode & TBLM_SCRIPT) { if (mode->end_tag == cmd) { |