Skip to content
Snippets Groups Projects
Commit dae18cde authored by Nicole Cordes's avatar Nicole Cordes Committed by Helmut Hummel
Browse files

[FOLLOWUP][BUGFIX] Disable children escaping in CropViewHelper

Currently the CropViewHelper is not able to return HTML as the output
is always escaped. This patch corrects escaping for children and output.

Resolves: #75459
Related: #75133
Releases: master
Change-Id: I5b9aae67f4550b2923424ae2690084f8849c12a9
Reviewed-on: https://review.typo3.org/47547


Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
parent b30c864f
Branches
Tags
No related merge requests found
......@@ -64,11 +64,11 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
class CropViewHelper extends AbstractViewHelper
{
/**
* Output escaping is enabled, thus we must disable escaping for rendered children
* The output may contain HTML and can not be escaped
*
* @var bool
*/
protected $escapeChildren = false;
protected $escapeOutput = false;
/**
* @var \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
......
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