Socket
Socket
Sign inDemoInstall

docpad-plugin-sanitizer

Package Overview
Dependencies
104
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    docpad-plugin-sanitizer

A helper for HTML string sanitization based on Google Caja


Version published
Weekly downloads
3
Maintainers
1
Install size
83.0 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 01 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc