[libxml2] * HTMLparser.c: a broken HTML table attributes initialization,



commit 04f8eef8520821ac726833687faee278cdb26c4a
Author: Roland Steiner <rolandsteiner google com>
Date:   Tue May 12 09:16:16 2009 +0200

    * HTMLparser.c: a broken HTML table attributes initialization,
    fixes #581803, by Roland Steiner <rolandsteiner google com>
    Daniel
---
 ChangeLog    |    5 +++++
 HTMLparser.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4607cff..549e576 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 12 09:13:58 CEST 2009 Daniel Veillard <daniel veillard com>
+
+	* HTMLparser.c: a broken HTML table attributes initialization,
+	  by Roland Steiner <rolandsteiner google com>
+
 Tue May 12 08:54:20 CEST 2009 Daniel Veillard <daniel veillard com>
 
 	* libxml2.doap: adding RDF dope file.
diff --git a/HTMLparser.c b/HTMLparser.c
index 24b0fc0..4d0fe27 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -606,7 +606,7 @@ static const char* const language_attr[] = { "language", NULL } ;
 static const char* const select_content[] = { "optgroup", "option", NULL } ;
 static const char* const select_attrs[] = { ATTRS, "name", "size", "multiple", "disabled", "tabindex", "onfocus", "onblur", "onchange", NULL } ;
 static const char* const style_attrs[] = { I18N, "media", "title", NULL } ;
-static const char* const table_attrs[] = { ATTRS "summary", "width", "border", "frame", "rules", "cellspacing", "cellpadding", "datapagesize", NULL } ;
+static const char* const table_attrs[] = { ATTRS, "summary", "width", "border", "frame", "rules", "cellspacing", "cellpadding", "datapagesize", NULL } ;
 static const char* const table_depr[] = { "align", "bgcolor", NULL } ;
 static const char* const table_contents[] = { "caption", "col", "colgroup", "thead", "tfoot", "tbody", "tr", NULL} ;
 static const char* const tr_elt[] = { "tr", NULL } ;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]