1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

change htmlCtxtReset() following Michael Day bug report and suggestion.

* HTMLparser.c: change htmlCtxtReset() following Michael Day bug
  report and suggestion.
Daniel
This commit is contained in:
Daniel Veillard
2006-11-08 09:16:56 +00:00
parent 481dcfcff3
commit 772869fe10
2 changed files with 6 additions and 1 deletions

View File

@ -5864,7 +5864,7 @@ htmlCtxtReset(htmlParserCtxtPtr ctxt)
ctxt->inSubset = 0;
ctxt->errNo = XML_ERR_OK;
ctxt->depth = 0;
ctxt->charset = XML_CHAR_ENCODING_UTF8;
ctxt->charset = XML_CHAR_ENCODING_NONE;
ctxt->catalogs = NULL;
xmlInitNodeInfoSeq(&ctxt->node_seq);