punkave/sanitize-html — pull request #16 by jimmed (2014-07-17 14:14:18+00:00)
Title: Allow access to element's attributes in exclusiveFilter callback

I've done this so that an exclusiveFilter can, for example, filter `` tags with no (or empty) `src` attribute.

Note that I may be making more pull requests today! This is by far the best JS-based HTML sanitizer I've found, and I may well use it in production once all my tests are passing ;)