From 52ef77ceef3f2b2e1ba094aa8cd5c6b4494a91a0 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 6 May 2019 15:10:01 +0100 Subject: Do not prevent reattempting conversion of HTML contents Signed-off-by: Daniel Silverstone --- content/handlers/html/html.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c index a7fea6dfe..6fe45adca 100644 --- a/content/handlers/html/html.c +++ b/content/handlers/html/html.c @@ -1275,10 +1275,6 @@ bool html_can_begin_conversion(html_content *htmlc) { unsigned int i; - /* Cannot begin conversion if we already have */ - if (htmlc->conversion_begun) - return false; - /* Cannot begin conversion if we're still fetching stuff */ if (htmlc->base.active != 0) return false; @@ -1303,10 +1299,6 @@ html_begin_conversion(html_content *htmlc) dom_string *node_name = NULL; dom_hubbub_error error; - if (htmlc->conversion_begun) - /* Conversion already began, so we are okay */ - return true; - /* The act of completing the parse can result in additional data * being flushed through the parser. This may result in new style or * script nodes, upon which the conversion depends. Thus, once we -- cgit v1.2.3