I'm making an app where I need users to input description using a wysiwyg editor. I cannot trust user input, so I need to only allow a
, em
, ul
, li
tags. How do I strip the others easily?
https://github.com/rgrove/sanitize/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With