stripScripts
stripScripts() -> string
Strips a string of anything that looks like an HTML script
block.
Example
'a <a href="#">link</a><script>alert("hello world!")</script>'.stripScripts();
// -> 'a <a href="#">link</a>'
stripScripts() -> string
Strips a string of anything that looks like an HTML script
block.
'a <a href="#">link</a><script>alert("hello world!")</script>'.stripScripts();
// -> 'a <a href="#">link</a>'