docpad-plugin-sanitizer
v2.0.0
Published
A helper for HTML string sanitization based on Google Caja
Downloads
3
Maintainers
Readme
Docpad Sanitizer Plugin
A helper for HTML string sanitization based on Google Caja
Overview
This injects a helper object sanitizer
into the templateData so you can use it like:
sanitizer.sanitize("string with unsafe tags and attributes")
For full list, refer https://github.com/theSmaw/Caja-HTML-Sanitizer