Issue Bug Closed

#80288newContentWizard: Label is escaped twice

Robert Vock 03/15/17, 14:58 updated 10/02/18, 11:03

Description

The label for the newContentWizard is escaped twice. Once in the controller:
https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-6-1/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php#L262

And once in the template:
https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-6-1/typo3/sysext/backend/Resources/Private/Templates/DocumentTemplate/Tabs.html#L10

The following PageTS leads to a double-escaped ampersand:

mod.wizards.newContentElement.wizardItems.customer.header = Customer & Partner
mod.wizards.newContentElement.wizardItems.customer.show = *
mod.wizards.newContentElement.wizardItems.customer.elements.example < mod.wizards.newContentElement.wizardItems.common.elements.textmedia

Reviews 1