Install
Works with Drupal: ^10.4 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Bug fixes since 1.0.0-rc1.
**Issue #3607280: Fix bypass body-context sanitizer for container extractions**
Fixes silent stripping of ``, ``, and `
` elements when `head` is
included in the `container` selector. Adds `head_filter` pipeline option to trim head
content to a semantic metadata allowlist. Adds `getPipelineOptionsSchema()` to
`HtmlProcessorInterface`.
**Issue #3607368: Fix HtmlSanitizerConfigBuilder silently truncating input at Symfony's 20,000-byte default**
Fixes silent content truncation on inputs exceeding 20 kB with no warning or
exception. The cap is disabled by default; callers can set an explicit limit via the
`maxInputLength` sanitizer option.