Coffee on the Keyboard
  • Home
  • jamessocol.com
Subscribe
Tagged

sanitize

A collection of 1 post

data

Bleach, HTML sanitizer and auto-linker

Bleach is a whitelist-based HTML sanitizer and auto-linker in Python, built on html5lib, for AMO and SUMO and released under the BSD license. Bleach has two main functions: sanitizing HTML based on a whitelist of tags and attributes, and turning URLs into links. It uses html5lib for both. For more

James Socol Feb 25, 2010 • 2 min read
Coffee on the Keyboard © 2022
Powered by Ghost