1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-27 01:25:34 +00:00

[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

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;