Install
Works with Drupal: ^8 || ^9 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Note: This release has a bug which is fixed in 4.1.11.
Default configuration of htmLawed filter now denies custom HTML elements (and data-hx-* attributes since 4.1.8), which are not denied with only config. parameter "save" set to 1 and may be undesirable if Drupal uses HTMX (e.g., in core version >11.2). When htmLawed filter is being added to a Text Format for the first time, its config. form-field (which can be edited) is pre-filled with the default value. For Text Formats previously set to use htmLawed, check their htmLawed config. and add these key-values to deny custom elements and data-hx-* attributes: "deny_attribute" => "data-hx-*, id, style", "any_custom_element" => 0. You may want to do this even if your Drupal currently does not use HTMX, considering the possibility of future Drupal upgrades.