From 4c89fd63aaf6921ef9b627bf792680d2fea6c4f1 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 9 Dec 2002 15:40:34 +0000 Subject: [w3m-dev 03548] close anchor before * file.c (process_img): use div_int (process_hr): use div_int (process_idattr): don't close_anchor (CLOSE_A): added (HTMLtagproc1):
,,, close anchor close anchor close anchor close anchor close anchor add DIV_INT close anchor * html.c (TagMAP): add div_int * html.h (HTML_DIV_INT): added (HTML_N_DIV_INT): added * tagtable.tab (div_int): added (/div_int): added From: Hironori SAKAMOTO --- html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index e4c644d..a009087 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.21 2002/12/08 14:23:44 ukai Exp $ */ +/* $Id: html.c,v 1.22 2002/12/09 15:40:36 ukai Exp $ */ #include "html.h" /* Define HTML Tag Infomation Table */ @@ -254,6 +254,8 @@ TagInfo TagMAP[MAX_HTMLTAG] = { {"/pre_plain", NULL, 0, TFLG_INT | TFLG_END}, /* 128 HTML_N_PRE_PLAIN */ {"internal", NULL, 0, TFLG_INT}, /* 129 HTML_INTERNAL */ {"/internal", NULL, 0, TFLG_INT | TFLG_END}, /* 130 HTML_N_INTERNAL */ + {"div_int", ALST_P, MAXA_P, TFLG_INT}, /* 131 HTML_DIV_INT */ + {"/div_int", NULL, 0, TFLG_INT | TFLG_END}, /* 132 HTML_N_DIV_INT */ }; TagAttrInfo AttrMAP[MAX_TAGATTR] = { -- cgit v1.2.3
close anchor close anchor close anchor add DIV_INT close anchor * html.c (TagMAP): add div_int * html.h (HTML_DIV_INT): added (HTML_N_DIV_INT): added * tagtable.tab (div_int): added (/div_int): added From: Hironori SAKAMOTO --- html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index e4c644d..a009087 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.21 2002/12/08 14:23:44 ukai Exp $ */ +/* $Id: html.c,v 1.22 2002/12/09 15:40:36 ukai Exp $ */ #include "html.h" /* Define HTML Tag Infomation Table */ @@ -254,6 +254,8 @@ TagInfo TagMAP[MAX_HTMLTAG] = { {"/pre_plain", NULL, 0, TFLG_INT | TFLG_END}, /* 128 HTML_N_PRE_PLAIN */ {"internal", NULL, 0, TFLG_INT}, /* 129 HTML_INTERNAL */ {"/internal", NULL, 0, TFLG_INT | TFLG_END}, /* 130 HTML_N_INTERNAL */ + {"div_int", ALST_P, MAXA_P, TFLG_INT}, /* 131 HTML_DIV_INT */ + {"/div_int", NULL, 0, TFLG_INT | TFLG_END}, /* 132 HTML_N_DIV_INT */ }; TagAttrInfo AttrMAP[MAX_TAGATTR] = { -- cgit v1.2.3