Skip to content

kennyki/docpad-plugin-sanitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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