[w3m-dev 03548] close anchor before <img align=...>
* file.c (process_img): use div_int (process_hr): use div_int (process_idattr): don't close_anchor (CLOSE_A): added (HTMLtagproc1): </p> close anchor <dl>,<ul>,<ol>,<blockquote>,<li>,<dt>,<dd> close anchor <noframes> close anchor <pre> close anchor <center> close anchor <div> close anchor add DIV_INT <form> 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 <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
4
html.c
4
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] = {
|
||||
|
Reference in New Issue
Block a user