Issue Bug Under Review

#110760HTML entities are displayed literally in record labels when using an RTE field as ctrl.label

Radosław R. 09/22/26, 08:14 updated 11/13/26, 10:15

Description

When an RTE/HTML field is configured as the `ctrl.label` field of a TCA table, TYPO3 strips the HTML tags when generating the record label.

However, HTML entities such as ` ` are not decoded. As a result, the entities are displayed literally in the record title in the backend.

Steps to reproduce:

1. Configure a TCA table with an RTE field as `ctrl.label`, for example:

'ctrl' => [
    'label' => 'content',
],

2. Store HTML content in the `content` field, for example:

<div>Zobacz także</div>
<figure>
    <table>
        <tbody>
            <tr>
                <td>&nbsp;&nbsp;</td>
            ....

3. Open the record in the TYPO3 backend.

Actual result:

The HTML tags are stripped, but the HTML entity remains encoded and is displayed literally:

Zobacz także&amp;nbsp;&amp;nbsp;

Expected result:

The record label should contain the textual representation of the HTML content without displaying HTML entities literally, for example:

Zobacz także

The issue is particularly noticeable when an RTE field contains layout HTML generated by the editor, where entities such as ` ` are commonly used.

Reviews 1

Files 1

History 13

  1. Radosław R. changed attached Zrzut ekranu 2026-09-22 o 10.58.40.png <span data-processor="relativetime" data-value="2026-09-22T09:00:01+00:00" > 09/22/26, 09:00 </span>