From 569d535b29255d860e7c3755069d60265a5e9085 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 3 Dec 2002 15:35:09 +0000 Subject: [w3m-dev 03509] HTML parser * file.c (close_textarea): delete (HTMLtagproc1): rewrite delete HTML_EOL move HTML_LISTING, HTML_N_LISTING add HTML_PRE_PLAIN, HTML_N_PRE_PLAIN add HTML_PLAINTEXT end_tag (HTMLlineproc0): s/str/line/ rewrite (completeHTMLstream): if necessary * fm.h (struct readbuffer): delete ignore_tag add end_tag (RB_XMPMODE): deleted (RB_LSTMODE): deleted (RB_SCRIPT): added (RB_STYLE): added (RB_*): renumber (R_ST_EOL): added (R_ST_*): renumber (ST_IS_TAG): check R_ST_EOL * form.c (form_fputs_decode): remove handling * frame.c (newFrame): remove_space() (CASE_TABLE_TAG): added (createFrameFile): rewrite * html.c (TagMAP): delete eol add pre_plain, /pre_plain * html.h (HTML_EOL): deleted (HTML_PRE_PLAIN): added (HTML_N_PRE_PLAIN): added * table.c (visible_length): rewrite (visible_length_plain): added (maximum_visible_length_plain): added (do_refill): R_ST_EOL (table_close_select): end_tag (table_close_textarea): end_tag (TAG_ACTION_PLAIN): added (feed_table_tag): rewrite (feed_table): rewrite * table.h (TBLM_*) reassign (struct table_mode): delete ignore_tag add end_tag * tagtable.tab (eol): deleted (pre_plain): added (/pre_plain): added From: Hironori SAKAMOTO --- tagtable.tab | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tagtable.tab') diff --git a/tagtable.tab b/tagtable.tab index 17aaa92..a4c95aa 100644 --- a/tagtable.tab +++ b/tagtable.tab @@ -154,7 +154,6 @@ input_alt HTML_INPUT_ALT /input_alt HTML_N_INPUT_ALT img_alt HTML_IMG_ALT /img_alt HTML_N_IMG_ALT -eol HTML_EOL pre_int HTML_PRE_INT /pre_int HTML_N_PRE_INT bgsound HTML_BGSOUND @@ -167,3 +166,5 @@ select_int HTML_SELECT_INT option_int HTML_OPTION_INT textarea_int HTML_TEXTAREA_INT /textarea_int HTML_N_TEXTAREA_INT +pre_plain HTML_PRE_PLAIN +/pre_plain HTML_N_PRE_PLAIN -- cgit v1.2.3