Install

Works with Drupal: ^8 || ^9 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 94.6 KB
MD5: 6830bcd436c5b6bd834f2328f7feb74a
SHA-1: 64b494fb2e4ca45275f457006d0a51c40d9551c2
SHA-256: 5ee02af3e419eb02016282712f6271c4f7519faaa185a3e92de3651bda6924ea
Download zip 100.02 KB
MD5: 269b80790e61963424d2400be809316d
SHA-1: 154333e0cb7147b212f1e5190ae26edc549ccbae
SHA-256: f19897d0896e7486fece4e95bf6a52fbc6a1181fec57fcaba51bf53e5ef6e845

Release notes

Fixes a bug in the fix (module version 4.1.10) for #3634604 by @ssawafta. The past 3 releases of the module have been about custom HTML elements and data-hx-* attributes.

The htmLawed module's default setting now denies custom HTML elements and data-hx-* attributes, which are not denied merely by config. parameter "save" set to 1 and are unsafe in certain settings. E.g., when Drupal uses HTMX, such as in case of version >11.2. When htmLawed is added to a Text Format for the first time, its editable config. form-field value is pre-filled with the default config. value. For Text Formats previously set to use htmLawed, you may want to edit their htmLawed config. to deny custom elements and data-hx-* attributes with: "deny_attribute" => "data-hx-*, id, style", "any_custom_element" => 0.

Created by: alpha2zee
Created on: 1 Nov 2026 at 16:54 UTC
Last updated: 4 Nov 2026 at 17:40 UTC
Security update

Other releases