mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[ecmascript] Removed exception for HEAD in document.write
It did not work either.
This commit is contained in:
parent
37cc5f52eb
commit
2259b74047
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user