Issue Bug Closed

#108576Wrong HTML for widget setting description, if XLF contains new-line.

Stefan Froemken 12/26/25, 16:36 updated 02/04/26, 07:25

Description

Hello,

A new-line in XLF results in a HTML pre-code element (see attached picture) in DashBoard widget settings description.

My XLF:

<?xml version="1.0" encoding="UTF-8"?>
<xliff version="2.0" xmlns="urn:oasis:names:tc:xliff:document:2.0" srcLang="en" trgLang="de">
    <file id="mysql-widget-buffer-pool">
        <unit id="label">
            <segment state="final">
                <source>Display Unit</source>
            </segment>
        </unit>
        <unit id="description">
            <segment state="final">
                <source>
                    Select the measurement unit for the InnoDB Buffer Pool data.
                    You can choose between percentage, Megabytes, or Gigabytes.
                </source>
            </segment>
        </unit>
    </file>
</xliff>

Stefan

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 1

History 1

  1. Stefan Froemken commented and changed status New Closed 02/04/26, 07:25

    Thank you. Solved with one of the commits in TYPO3 14.2-dev