Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Franzl committed Nov 20, 2017
1 parent 8ccd8d5 commit 2d1da06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sanitize-dom

Recursive sanitizer/filter of [WHATWG DOM](https://dom.spec.whatwg.org)s. Flexible use cases with convenient configuration options. More complex filtering can be implemented via filters (callback functions).
Recursive sanitizer/filter for [WHATWG DOM](https://dom.spec.whatwg.org)s. Flexible use cases with convenient configuration options. More complex filtering can be implemented via filters (callback functions).

This project is similar to [sanitize-html](https://github.com/punkave/sanitize-html) but works with the bare-metal DOM API rather than with HTML strings. Because it leverages the browser's own HTML parsing, it has a very small footprint and works in all modern browsers. It also works in Node.js by using an WHATWG DOM implementation like [jsdom](https://github.com/tmpvar/jsdom).

Expand Down

0 comments on commit 2d1da06

Please sign in to comment.