1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- HTMLparser.c HTMLtree.c: applied part of the patches provided

by P C Chow and William M. Brack for XSLT HTML output
Daniel
This commit is contained in:
Daniel Veillard
2001-04-18 09:45:35 +00:00
parent 5d7a9fe6b3
commit 1ed3f88b8b
3 changed files with 44 additions and 11 deletions

View File

@ -616,7 +616,7 @@ htmlTagLookup(const xmlChar *tag) {
for (i = 0; i < (sizeof(html40ElementTable) /
sizeof(html40ElementTable[0]));i++) {
if (xmlStrEqual(tag, BAD_CAST html40ElementTable[i].name))
if (!xmlStrcasecmp(tag, BAD_CAST html40ElementTable[i].name))
return(&html40ElementTable[i]);
}
return(NULL);