clean-html
clean-html copied to clipboard
Generated HTML removed the <script> tag
left is original, right is the generated one.
See #12. I'm willing to reevaluate the current (non) solution, but time is an issue. Do you want to take a stab at it?
I think a friendlier solution would be to have options (i.e. remove-script
, remove-style
, default to true
so as not to break anyone) that would allow these tags to simply be ignored and left as-is.
Love clean-html's lightness (and cli interface!) but sadly stripping script and style makes it tough for us.
That's a good idea. I can add those when I have time or I'll accept a PR if you want to try.
yeah I need that too!!!
Fixed in 6a1cc0d.