1
0
Fork 0

[ecmascript] Removed exception for HEAD in document.write

It did not work either.
This commit is contained in:
Witold Filipczyk 2022-12-12 18:06:34 +01:00
parent 37cc5f52eb
commit 2259b74047
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
const xmlpp::Element *parent = el->get_parent();
if (!parent || !strcasecmp(parent->get_name().c_str(), "HEAD")) goto fromstart;
if (!parent) goto fromstart;
xmlpp::ustring text = "<root>";
text += interpreter->writecode.source;