API Reference html_sanitize_ex v#1.5.0

View Source

Modules

HtmlSanitizeEx can be used to implement custom scrubbers, from scratch or by extending an existing scrubber.

Allows basic HTML tags to support user input for writing relatively plain text but allowing headings, links, bold, and so on.

Allows all HTML5 tags to support user input.

Allows basic HTML tags to support user input for writing relatively plain text with Markdown (GitHub flavoured Markdown supported).

This module contains some meta-programming magic to define your own rules for scrubbers.

Scrubs neither tags, nor their attributes.