1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-15 17:57:33 +03:00

541237 error correcting missing end tags in HTML

* HTMLparser.c: make sure /p closes the FONTSTYLE list of elements
This commit is contained in:
Daniel Veillard 2009-08-24 11:59:51 +02:00
parent f5ac0a4b80
commit 6339c1a886

View File

@ -1010,7 +1010,7 @@ static const char * const htmlStartClose[] = {
"listing", "xmp", NULL,
"ol", "p", "head", "ul", NULL,
"menu", "p", "head", "ul", NULL,
"p", "p", "head", "h1", "h2", "h3", "h4", "h5", "h6", NULL,
"p", "p", "head", "h1", "h2", "h3", "h4", "h5", "h6", FONTSTYLE, NULL,
"div", "p", "head", NULL,
"noscript", "p", "head", NULL,
"center", "font", "b", "i", "p", "head", NULL,