Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

htmLawed filter/purifier

The htmLawed module uses the htmLawed PHP library to restrict and purify HTML for security and compliance with web standards and admin policy. htmLawed is open-source, single-file, fast, highly customizable, well-documented, and may be better than the in-built Drupal HTML filter and many other filters that require external applications like HTML Tidy or use incomplete, or large and resource-intensive libraries like HTMLPurifier. You can test htmLawed library on its demo site.

Setup

Installation

Configuration

Configuring the htmLawed filter

Operability with the Libraries module

Using htmLawed library with Libraries

Notes

Some points to keep in mind