HtmlParser for <script>
MikaelMayer opened this issue · comments
Currently, if I have dynamically added code:e
<script>
document.body.append("<img src='" + url + "'>")
</script>
this will create trouble because it thinks that <img is a tag to parse.
We should only stop script parsing (and same for style) when </script>
is encountered.