#110760HTML entities are displayed literally in record labels when using an RTE field as ctrl.label
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> </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&nbsp;&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
-
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>
-
Gerrit Code Review pushed patch set 1 for main to change 96065 status
NewUnder Review <span data-processor="relativetime" data-value="2026-09-25T08:09:17+00:00" > 09/25/26, 08:09 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96065 <span data-processor="relativetime" data-value="2026-11-13T10:15:30+00:00" > 11/13/26, 10:15 </span>