Commit d2efcd26 authored by Guido Schmechel's avatar Guido Schmechel Committed by Jigal van Hemert
Browse files

[BUGFIX] Show image metadata description

Show the description as a placeholder when an image
is added as a reference.

Resolves: #81235
Releases: master, 8.7
Change-Id: I75363f74ba72bf4fd95b2a2e9a2a061ad250f825
Reviewed-on: https://review.typo3.org/56438

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
parent 5814b35b
......@@ -278,7 +278,7 @@ class TextElement extends AbstractFormElement
$fullElement[] = isset($attributes['style']) ? ' style="' . htmlspecialchars($attributes['style']) . '"' : '';
$fullElement[] = isset($attributes['maxlength']) ? ' maxlength="' . htmlspecialchars($attributes['maxlength']) . '"' : '';
$fullElement[] = '>';
$fullElement[] = htmlspecialchars($itemValue);
$fullElement[] = htmlspecialchars($shortenedPlaceholder);
$fullElement[] = '</textarea>';
$fullElement[] = '</div>';
$fullElement[] = '</div>';
......
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