aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 17:56:02 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 17:56:02 +0000
commitd515bf1cfd0d1d61facc155927c45bdf1c29c4fb (patch)
tree2d05d032264a0ada2700074f370707dd7fd98376 /file.c
parent[w3m-dev 02765] backend (diff)
downloadw3m-d515bf1cfd0d1d61facc155927c45bdf1c29c4fb.tar.gz
w3m-d515bf1cfd0d1d61facc155927c45bdf1c29c4fb.zip
[w3m-dev 02769] <form>..</form> as block element
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 7 insertions, 1 deletions
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: