version 1.26, 2010/07/13 23:53:20 |
version 1.28, 2010/12/15 14:52:16 |
|
|
TAG_BR, |
TAG_BR, |
TAG_A, |
TAG_A, |
TAG_TABLE, |
TAG_TABLE, |
|
TAG_TBODY, |
TAG_COL, |
TAG_COL, |
TAG_TR, |
TAG_TR, |
TAG_TD, |
TAG_TD, |
TAG_LI, |
TAG_LI, |
TAG_UL, |
TAG_UL, |
TAG_OL, |
TAG_OL, |
|
TAG_DL, |
|
TAG_DT, |
|
TAG_DD, |
TAG_MAX |
TAG_MAX |
}; |
}; |
|
|
|
|
enum htmltag tag; |
enum htmltag tag; |
}; |
}; |
|
|
struct ord { |
|
struct ord *next; |
|
const void *cookie; |
|
int pos; |
|
}; |
|
|
|
struct tagq { |
struct tagq { |
struct tag *head; |
struct tag *head; |
}; |
}; |
struct ordq { |
|
struct ord *head; |
|
}; |
|
|
|
struct htmlpair { |
struct htmlpair { |
enum htmlattr key; |
enum htmlattr key; |
|
|
#define HTML_IGNDELIM (1 << 1) |
#define HTML_IGNDELIM (1 << 1) |
#define HTML_KEEP (1 << 2) |
#define HTML_KEEP (1 << 2) |
#define HTML_PREKEEP (1 << 3) |
#define HTML_PREKEEP (1 << 3) |
|
#define HTML_NONOSPACE (1 << 4) |
struct tagq tags; |
struct tagq tags; |
struct ordq ords; |
|
void *symtab; |
void *symtab; |
char *base; |
char *base; |
char *base_man; |
char *base_man; |