aboutsummaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2007-04-19 12:00:37 +0000
committerDai Sato <satodai@w3m.jp>2007-04-19 12:00:37 +0000
commit2c5eaafc8ea301638676a41ed50383ed0b76c0a1 (patch)
tree157101119feaa43ed1a1444616f0710cd9a65fb3 /html.c
parentdisplay <em> and <i> elements with underline. [w3m-dev 04197] (diff)
downloadw3m-2c5eaafc8ea301638676a41ed50383ed0b76c0a1.tar.gz
w3m-2c5eaafc8ea301638676a41ed50383ed0b76c0a1.zip
avoid conflicts between input_alt and img_alt, and fix calculation of labeled line numbers when fold_line=1. [w3m-dev 04211]
Diffstat (limited to 'html.c')
-rw-r--r--html.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/html.c b/html.c
index 0546793..1b888fe 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.29 2006/12/10 11:06:12 inu Exp $ */
+/* $Id: html.c,v 1.30 2007/04/19 12:00:38 inu Exp $ */
#include "html.h"
/* Define HTML Tag Infomation Table */
@@ -29,9 +29,9 @@ unsigned char ALST_PRE[] = { ATTR_FOR_TABLE, ATTR_CORE };
#define MAXA_PRE MAXA_CORE + 1
unsigned char ALST_IMG[] =
{ ATTR_SRC, ATTR_ALT, ATTR_WIDTH, ATTR_HEIGHT, ATTR_ALIGN, ATTR_USEMAP,
- ATTR_ISMAP, ATTR_TITLE, ATTR_CORE
+ ATTR_ISMAP, ATTR_TITLE, ATTR_PRE_INT, ATTR_CORE
};
-#define MAXA_IMG MAXA_CORE + 8
+#define MAXA_IMG MAXA_CORE + 9
unsigned char ALST_TABLE[] =
{ ATTR_BORDER, ATTR_WIDTH, ATTR_HBORDER, ATTR_CELLSPACING,
ATTR_CELLPADDING, ATTR_VSPACE, ATTR_CORE
@@ -348,4 +348,5 @@ TagAttrInfo AttrMAP[MAX_TAGATTR] = {
{"referer", VTYPE_STR, AFLG_INT}, /* 71 ATTR_REFERER */
{"selectnumber", VTYPE_NUMBER, AFLG_INT}, /* 72 ATTR_SELECTNUMBER */
{"textareanumber", VTYPE_NUMBER, AFLG_INT}, /* 73 ATTR_TEXTAREANUMBER */
+ {"pre_int", VTYPE_NONE, AFLG_INT}, /* 74 ATTR_PRE_INT */
};