summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-05-06 15:10:01 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-05-06 15:10:01 +0100
commit52ef77ceef3f2b2e1ba094aa8cd5c6b4494a91a0 (patch)
tree4de4e1cccca9eaff49b4efd10fe4dc609413310e
parent654e1ee12ac3d405b4a98735179d749dc0047d05 (diff)
downloadnetsurf-52ef77ceef3f2b2e1ba094aa8cd5c6b4494a91a0.tar.gz
netsurf-52ef77ceef3f2b2e1ba094aa8cd5c6b4494a91a0.tar.bz2
Do not prevent reattempting conversion of HTML contents
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r--content/handlers/html/html.c8
1 files changed, 0 insertions, 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