Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Filter HTML Plus

No security coverage Maintenance fixes only 14 sites

This module enhances the core HTML filter by allowing you to globally whitelist attributes for all HTML tags. This provides flexibility in controlling user-generated HTML without needing to specify each attribute for every tag individually.

This module does one simple thing: it allows you to whitelist attributes globally, for all HTML tags, when using the core "Limit allowed HTML tags and correct faulty HTML" text filter.

For example, if you want to allow users to specify the "class" and "tabindex" attributes on any tag, then just install this module and update your filter config by adding the following to the "Allowed HTML tags" list (in addition to the list of tags you wish to allow):
<* class tabindex>

This allows you to use the "Limit allowed HTML tags and correct faulty HTML" without being forced to enumerate every single attribute on every single tag.

Drupal 9–11

Ask your assistant about Filter HTML Plus

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 9–11 Oct 4, 2024
2.0.0 Stable 8–10 Feb 10, 2023
2.x-dev Dev 9–11 Feb 10, 2023