From 6339c1a886fc33b5a23da78088d8d6abb127c9e4 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 24 Aug 2009 11:59:51 +0200 Subject: [PATCH] 541237 error correcting missing end tags in HTML * HTMLparser.c: make sure /p closes the FONTSTYLE list of elements --- HTMLparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTMLparser.c b/HTMLparser.c index c757e452..63388109 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -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,