From abe01744426f83c44faec18aef7f3fead4696e5e Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 26 Sep 2002 12:40:03 +0000 Subject: [PATCH] fixing bug #94241 on HTML boolean attributes Daniel * HTMLtree.c: fixing bug #94241 on HTML boolean attributes Daniel --- ChangeLog | 4 ++++ HTMLtree.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b212fe79..77e68ed9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 26 14:39:07 CEST 2002 Daniel Veillard + + * HTMLtree.c: fixing bug #94241 on HTML boolean attributes + Thu Sep 26 14:25:33 CEST 2002 Daniel Veillard * doc/*: added the 3 new modules xmlregexp xmlautomata and xmlunicode diff --git a/HTMLtree.c b/HTMLtree.c index 82e1dc11..cbd0ef0c 100644 --- a/HTMLtree.c +++ b/HTMLtree.c @@ -306,7 +306,7 @@ htmlIsBooleanAttr(const xmlChar *name) int i = 0; while (htmlBooleanAttrs[i] != NULL) { - if (xmlStrcmp((const xmlChar *)htmlBooleanAttrs[i], name) == 0) + if (xmlStrcasecmp((const xmlChar *)htmlBooleanAttrs[i], name) == 0) return 1; i++; }