Commit 82afb8f6 authored by Nicole Cordes's avatar Nicole Cordes Committed by Helmut Hummel
Browse files

[BUGFIX] Prevent output escaping in AvatarViewHelper

As the AvatarViewHelper returns HTML, the output should not be escaped.

Resolves: #76111
Releases: master
Change-Id: I4853de751c23dd726c30c11730b4c365625be5d0
Reviewed-on: https://review.typo3.org/48058

Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Adrian Mot's avatarAdrian Mot <adrian.mot@gmail.com>
Reviewed-by: default avatarDaniel Goerz <ervaude@gmail.com>
Tested-by: default avatarDaniel Goerz <ervaude@gmail.com>
Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
parent 26f7515d
......@@ -23,6 +23,13 @@ use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
*/
class AvatarViewHelper extends AbstractViewHelper
{
/**
* As this ViewHelper renders HTML, the output must not be escaped.
*
* @var bool
*/
protected $escapeOutput = false;
/**
* Resolve user avatar from backend user id.
*
......
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