html_field_formatter: breaks if allowed tags are given

Created on 10 July 2025, 1 day ago

Problem/Motivation

If you are using the html_field_formatter module and allowed tags in display settings, the site breaks with

TypeError: Drupal\klaro\Utility\KlaroHelper::processHtml(): Argument #1 ($html) must be of type string

Steps to reproduce

  • Install klaro and html_field_formatter
  • Set up an entity or media entity with html text
  • configure display of this field via html_field_formatter module
  • set allowed tags in html_field_formatter
🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany jan kellermann

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024