Open dy-dx opened 5 years ago
Thanks. I assume the expected output in both cases is:
<p>hello</p>
Because it should be removing both the iframe and the script tags, but instead doesn't remove them and ends up escaping them instead? So it's over-escaping here and you end up with all the escaped html in output2 rather than just the expected paragraph.
Is that a fair summary?
Yes, that's exactly right.