From d515bf1cfd0d1d61facc155927c45bdf1c29c4fb Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 27 Dec 2001 17:56:02 +0000 Subject: [w3m-dev 02769]
..
as block element From: Hironori Sakamoto --- file.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'file.c') 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 #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: -- cgit v1.2.3