mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
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:
parent
a5e71b80c2
commit
1124712760
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user