[BUGFIX] Set $escapeOutput to false for ValidationResultsViewHelper 20/48420/2
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 31 May 2016 13:40:43 +0000 (15:40 +0200)
committerNicole Cordes <typo3@cordes.co>
Wed, 1 Jun 2016 13:14:14 +0000 (15:14 +0200)
The ViewHelper must not escape its output

Resolves: #76400
Releases: master
Change-Id: Iefeeddfca3f1427dfbf72c8dd672aefb1ea03500
Reviewed-on: https://review.typo3.org/48420
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/fluid/Classes/ViewHelpers/Form/ValidationResultsViewHelper.php

index e7f2c18..30a6743 100644 (file)
@@ -63,6 +63,14 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Form;
  */
 class ValidationResultsViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
 {
+
+    /**
+     * As this ViewHelper renders HTML, the output must not be escaped.
+     *
+     * @var bool
+     */
+    protected $escapeOutput = false;
+
     /**
      * Iterates through selected errors of the request.
      *