[libxml2] 541237 error correcting missing end tags in HTML
- From: Daniel Veillard <veillard src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libxml2] 541237 error correcting missing end tags in HTML
- Date: Mon, 24 Aug 2009 10:01:02 +0000 (UTC)
commit 6339c1a886fc33b5a23da78088d8d6abb127c9e4
Author: Daniel Veillard <veillard redhat com>
Date: Mon Aug 24 11:59:51 2009 +0200
541237 error correcting missing end tags in HTML
* HTMLparser.c: make sure /p closes the FONTSTYLE list of elements
HTMLparser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/HTMLparser.c b/HTMLparser.c
index c757e45..6338810 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]