[BUGFIX] Avoid double escaping in content element wizard 47/52147/2
authorGeorg Ringer <georg.ringer@gmail.com>
Sat, 25 Mar 2017 10:13:41 +0000 (11:13 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 25 Mar 2017 22:29:47 +0000 (23:29 +0100)
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: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php

index e39fe4a..1d1f645 100644 (file)
@@ -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;