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?
I’m making an app where I need users to input description using a wysiwyg
Share
https://github.com/rgrove/sanitize/