Install
Works with Drupal: ^8 || ^9 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
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.