Skip to content
Snippets Groups Projects
Commit 59d04bfd authored by Wouter Wolters's avatar Wouter Wolters Committed by Benni Mack
Browse files

[BUGFIX] Avatar generates wrong HTML

No space between attributes.

Resolves: #71334
Releases: master
Change-Id: I5b785467a74569194e7268df6199710379c7635e
Reviewed-on: https://review.typo3.org/44545


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 70a3735f
Branches
Tags
No related merge requests found
......@@ -82,7 +82,7 @@ class Avatar
$avatarImage = $this->getImage($backendUser, $size);
if ($avatarImage) {
$imageTag = '<img src="' . htmlspecialchars($avatarImage->getUrl(true)) . '"' .
$imageTag = '<img src="' . htmlspecialchars($avatarImage->getUrl(true)) . '" ' .
'width="' . (int)$avatarImage->getWidth() . '" ' .
'height="' . (int)$avatarImage->getHeight() . '" />';
}
......
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