aboutsummaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-09 15:40:34 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-09 15:40:34 +0000
commit4c89fd63aaf6921ef9b627bf792680d2fea6c4f1 (patch)
tree3c022dbe0e0ea957e7460fa38e132ccafcf3b36f /html.c
parent[w3m-dev 03544] Can't display "1&2" in table (diff)
downloadw3m-4c89fd63aaf6921ef9b627bf792680d2fea6c4f1.tar.gz
w3m-4c89fd63aaf6921ef9b627bf792680d2fea6c4f1.zip
[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>
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
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] = {