Unescaped tips text breaks admin table field layout

Created on 28 August 2025, 3 days ago

Problem/Motivation

When editing a text field that uses this filter, the "tips" text displays underneath it. In the latest Drupal 10.5.x versions, it ends up evaluating the "<th scope="col"></th>" snippet and breaking the table layouts when using this field nested inside Paragraphs.

Steps to reproduce

1. Install Paragraphs and this module.
2. Enable this functionality in the Text Format settings on the Basic HTML format.
3. Create nested paragraphs, with the child paragraph having at least two fields, and the first one being a Basic HTML formatted textfield.
4. On adding the paragraph, the description of the textfield should show the text tip for this filter, but it cuts off at "elements, such as" and then you will see a " ." printed elsewhere on the page, depending on how and where it breaks the content or layout.

Proposed resolution

The text in the tips function needs to be escaped properly so that the tag cannot be evaluated and break the page layout.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States agbockus Illinois

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

Comments & Activities

  • Issue created by @agbockus
  • @agbockus opened merge request.
Production build 0.71.5 2024