Commit Graph

2 Commits

Author SHA1 Message Date
bazuzi
5b053a7579 Expand typings for DOMPurify
- A config can be passed in when using sanitize and the
same config object is passed into the addHook callback.

- Depending on config options, sanitize may return a DOM Node.

- The basic examples from the DOMPurify README will confirm
that the config object can be used flexibly with sanitize.
2015-08-25 17:41:34 -04:00
davetayls
aa84861d41 added DOMPurify from https://github.com/cure53/DOMPurify 2015-04-10 11:39:53 +01:00