diff options
-rw-r--r-- | render/html.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c index 14d2d8e8d..102c00fd1 100644 --- a/render/html.c +++ b/render/html.c @@ -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) { |