title: Remove javascript from user input but still allow html with PHP?
body: <p>I want to allow users to write html into a form field but exclude javascript. Is there simple code or a library that will do this?</p>
  
  <p>I've looked into using HTML Purifer but I'm not quite sure how to configure it to run in the way I am looking for. I think I would have to specify all the tags that I am allowing into HTML.allowed. I could come up with an exhaustive list, I guess, but if there is an easier way, I'd rather do that.</p>