mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
fixed HTMLparser.c
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Fri Oct 5 23:35:00 HKT 2001 William Brack <wbrack@mmm.com.hk>
|
||||||
|
|
||||||
|
* HTMLparser: repaired another loop problem
|
||||||
|
|
||||||
Fri Oct 5 11:16:21 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
Fri Oct 5 11:16:21 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* uri.c: applied fix from Mathias Hasselmann about a bug in URI
|
* uri.c: applied fix from Mathias Hasselmann about a bug in URI
|
||||||
|
@ -724,6 +724,7 @@ htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
|
|||||||
} else if (info->endTag == 3) {
|
} else if (info->endTag == 3) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
xmlGenericError(xmlGenericErrorContext,"End of tag %s: expecting %s\n", newtag, ctxt->name);
|
xmlGenericError(xmlGenericErrorContext,"End of tag %s: expecting %s\n", newtag, ctxt->name);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
|
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
|
||||||
ctxt->sax->error(ctxt->userData,
|
ctxt->sax->error(ctxt->userData,
|
||||||
@ -4335,8 +4336,8 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
|
|||||||
ctxt->token = 0;
|
ctxt->token = 0;
|
||||||
ctxt->checkIndex = 0;
|
ctxt->checkIndex = 0;
|
||||||
NEXT;
|
NEXT;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if (avail < 2)
|
if (avail < 2)
|
||||||
goto done;
|
goto done;
|
||||||
|
Reference in New Issue
Block a user