From 04f8eef8520821ac726833687faee278cdb26c4a Mon Sep 17 00:00:00 2001 From: Roland Steiner Date: Tue, 12 May 2009 09:16:16 +0200 Subject: [PATCH] * HTMLparser.c: a broken HTML table attributes initialization, fixes #581803, by Roland Steiner Daniel --- ChangeLog | 5 +++++ HTMLparser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4607cffc..549e5760 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue May 12 09:13:58 CEST 2009 Daniel Veillard + + * HTMLparser.c: a broken HTML table attributes initialization, + by Roland Steiner + Tue May 12 08:54:20 CEST 2009 Daniel Veillard * libxml2.doap: adding RDF dope file. diff --git a/HTMLparser.c b/HTMLparser.c index 24b0fc0f..4d0fe27e 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 } ;