Do not prevent reattempting conversion of HTML contents

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2019-05-06 15:10:01 +01:00
parent 654e1ee12a
commit 52ef77ceef
1 changed files with 0 additions and 8 deletions

View File

@ -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