Skip to content

kennyki/docpad-plugin-sanitizer

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

About

A helper for HTML string sanitization based on Google Caja

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published