Issue Bug Closed

#71318Label in flexforms are not resolved if XML contains whitespace around the references

Markus Klein 11/04/15, 14:55 updated 10/19/17, 21:59

Description

Using a flexform like

<numIndex index="2" type="array">
    <numIndex index="0">
        LLL:EXT:rx_shariff/Resources/Private/Language/locallang_be.xlf:flexforms_general.theme.white
    </numIndex>
    <numIndex index="1">white</numIndex>
</numIndex>

will cause the output to contain the label reference instead of the real label.

This is due to the reason that the XML parser passes on the whitespace, hence the output has to be trimmed first before resolving the labels.

Reviews 1