mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
- HTMLparser.c testHTML.c: applied two new patches from
Wayne Davison <wayned@blorf.net> - result/HTML/*.sax: regenerated HTML SAX output - parser.c: more cleanup. Daniel
This commit is contained in:
@ -1650,6 +1650,8 @@ static int areBlanks(htmlParserCtxtPtr ctxt, const xmlChar *str, int len) {
|
||||
if (CUR != '<') return(0);
|
||||
if (ctxt->name == NULL)
|
||||
return(1);
|
||||
if (!xmlStrcmp(ctxt->name, BAD_CAST"html"))
|
||||
return(1);
|
||||
if (!xmlStrcmp(ctxt->name, BAD_CAST"head"))
|
||||
return(1);
|
||||
if (!xmlStrcmp(ctxt->name, BAD_CAST"body"))
|
||||
|
Reference in New Issue
Block a user