Reset the "has_ns" flag when reparsing documents because of encoding change. (credit: jmb)

svn path=/trunk/netsurf/; revision=5029
This commit is contained in:
Andrew Sidwell 2008-08-11 16:27:31 +00:00
parent a5e71b80c2
commit 1124712760

View File

@ -694,6 +694,8 @@ encoding_change:
if (c->data.html.document) {
xmlFreeDoc(c->data.html.document);
}
c->data.html.has_ns = false;
memset(c->data.html.ns, 0, sizeof(c->data.html.ns));
/* Set up the parser, libxml2 document, and that */
if (html_create_parser(c) != 0) {