1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- HTMLparser.c: Jonas Borgstrm patch, the <td>, and <th> elements

now means the end of any open <span>,<font>,<a>,<b>,<i>,<u>.
Daniel
This commit is contained in:
Daniel Veillard
2001-04-24 11:23:35 +00:00
parent eae522a0d8
commit 43dadebd41
2 changed files with 7 additions and 2 deletions

View File

@ -508,8 +508,8 @@ const char *htmlStartClose[] = {
"col", "caption", "col", "p", NULL,
"table", "p", "head", "h1", "h2", "h3", "h4", "h5", "h6", "pre",
"listing", "xmp", "a", NULL,
"th", "th", "td", NULL,
"td", "th", "td", "p", NULL,
"th", "th", "td", "p", "span", "font", "a", "b", "i", "u", NULL,
"td", "th", "td", "p", "span", "font", "a", "b", "i", "u", NULL,
"tr", "th", "td", "tr", "caption", "col", "colgroup", "p", NULL,
"thead", "caption", "col", "colgroup", NULL,
"tfoot", "th", "td", "tr", "caption", "col", "colgroup", "thead",