Commit b1e1ca43 authored by Georg Ringer's avatar Georg Ringer Committed by Christian Kuhn
Browse files

[BUGFIX] Avoid double escaping in content element wizard

Fluid escapes the header already, therfore there is no
need to do it before in the controller.

Resolves: #80288
Releases: master
Change-Id: I7f16fb2aa1319cdfbc3a8c9226a86e98a8e8457a
Reviewed-on: https://review.typo3.org/52147

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 6e068b9f
......@@ -259,7 +259,7 @@ class NewContentElementController extends AbstractModule
$wizardOnClick = '';
if ($wInfo['header']) {
$menuItems[] = [
'label' => htmlspecialchars($wInfo['header']),
'label' => $wInfo['header'],
'content' => ''
];
$key = count($menuItems) - 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment