* etc.c (next_status): after = is R_ST_VALUE

R_ST_VALUE > => R_ST_NORMAL
		R_ST_VALUE SP => R_ST_TAG
	(read_token): R_ST_VALUE
	(correct_irrtag): R_ST_VALUE
* rm.h (R_ST_VALUE): added
	(ST_IS_REAL_TAG): rewrite
	(ST_IS_COMMENT): deleted
	(ST_IS_TAG): deleted
* parsetagx.c (parse_tag): skip too long tagname
			skip too long attrname
			if attrvalue has quote char, need reconstruct
			if unknown attr, need reconstruct
* table.c (visible_length): R_ST_VALUE
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2003-01-23 18:01:01 +00:00
parent 51c2899aa9
commit e718702d12
5 changed files with 49 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: table.c,v 1.38 2003/01/20 15:30:21 ukai Exp $ */
/* $Id: table.c,v 1.39 2003/01/23 18:01:08 ukai Exp $ */
/*
* HTML table
*/
@@ -484,7 +484,8 @@ visible_length(char *str)
Strcat_char(tagbuf, *str);
}
else if (status == R_ST_TAG || status == R_ST_DQUOTE
|| status == R_ST_QUOTE || status == R_ST_EQL) {
|| status == R_ST_QUOTE || status == R_ST_EQL
|| status == R_ST_VALUE) {
Strcat_char(tagbuf, *str);
}
else if (status == R_ST_AMP) {