aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--file.c8
-rw-r--r--table.c4
3 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b3568a1..0a90e9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02769] <form>..</form> as block element
+ * file.c (HTMLtagproc1): CLOSE_P for <form>...</form>
+ * table.c (feed_table_tag): add feed_table_block_tag for <form></form>
+
2001-12-28 Hironori Sakamoto <h-saka@lsi.nec.co.jp>
* [w3m-dev 02765] backend
@@ -1732,4 +1738,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.192 2001/12/27 17:50:56 ukai Exp $
+$Id: ChangeLog,v 1.193 2001/12/27 17:56:02 ukai Exp $
diff --git a/file.c b/file.c
index 7cd0f3d..0ec6756 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.37 2001/12/27 17:50:56 ukai Exp $ */
+/* $Id: file.c,v 1.38 2001/12/27 17:56:03 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -3619,10 +3619,16 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
return 1;
case HTML_FORM:
case HTML_FORM_INT:
+ CLOSE_P;
+ if (!(obuf->flag & RB_IGNORE_P))
+ flushline(h_env, obuf, envs[h_env->envc].indent, 0, h_env->limit);
process_form(tag);
return 1;
case HTML_N_FORM:
case HTML_N_FORM_INT:
+ CLOSE_P;
+ flushline(h_env, obuf, envs[h_env->envc].indent, 0, h_env->limit);
+ obuf->flag |= RB_IGNORE_P;
process_n_form();
return 1;
case HTML_INPUT:
diff --git a/table.c b/table.c
index c883bf0..0670364 100644
--- a/table.c
+++ b/table.c
@@ -1,4 +1,4 @@
-/* $Id: table.c,v 1.12 2001/12/17 16:05:03 ukai Exp $ */
+/* $Id: table.c,v 1.13 2001/12/27 17:56:03 ukai Exp $ */
/*
* HTML table
*/
@@ -2786,9 +2786,11 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
feed_table1(tbl, tok, mode, width);
break;
case HTML_FORM:
+ feed_table_block_tag(tbl, line, mode, 0, cmd);
process_form(tag);
break;
case HTML_N_FORM:
+ feed_table_block_tag(tbl, line, mode, 0, cmd);
process_n_form();
break;
case HTML_INPUT: