--- in: Just a little harmless xss . sanitized_html:
Just a little harmless xss stuff.
--- in: Here's a bad image sanitized_html:Here’s a bad image
--- in: Just some random > and < characters, but also aJust some random > and < characters, but also a
tag.
The bad tags should be missing: alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye");
--- name: removes script tags in: |- sanitized_html: "alert(“Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye”);" --- name: removes nested script tags in: |- sanitized_html: |- alert(“Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye”);