0.4.6 • Published 10 years ago

simple-sanitizer v0.4.6

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

Simple Sanitizer

A small, quick, standalone and effective client side javascript html sanitizer.

A shameless port of ngSanitize to normal javascript, zero dependencies required.

Usage

	var safeHTML = sanitizer.sanitizeHTML(dangerousHTML);

You can also sanitize URIs for images, links etc:

	var safeUri = sanitizer.sanitizeUri(dangerousUri);

License

MIT, see LICENSE for details.

0.4.6

10 years ago

0.4.5

10 years ago

0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago