mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
better handling of conditional features more testing on parser contexts
* gentest.py testapi.c: better handling of conditional features * HTMLparser.c SAX2.c parserInternals.c xmlwriter.c: more testing on parser contexts closed leaks, error messages Daniel
This commit is contained in:
@@ -5675,8 +5675,12 @@ htmlCtxtReset(htmlParserCtxtPtr ctxt)
|
||||
ctxt->input = NULL;
|
||||
|
||||
ctxt->spaceNr = 0;
|
||||
ctxt->spaceTab[0] = -1;
|
||||
ctxt->space = &ctxt->spaceTab[0];
|
||||
if (ctxt->spaceTab != NULL) {
|
||||
ctxt->spaceTab[0] = -1;
|
||||
ctxt->space = &ctxt->spaceTab[0];
|
||||
} else {
|
||||
ctxt->space = NULL;
|
||||
}
|
||||
|
||||
|
||||
ctxt->nodeNr = 0;
|
||||
|
Reference in New Issue
Block a user