Commit 120f7ea3 authored by Georg Ringer's avatar Georg Ringer Committed by Jigal van Hemert
Browse files

[BUGFIX] Remove additional lines in textareas of formengine

Remove additional lines around the actual content of a
textarea.

Resolves: #79573
Releases: master
Change-Id: I636afb0ec63d34d4a209caeaa1369bc65727665d
Reviewed-on: https://review.typo3.org/51490

Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarThomas Hohn <thomas@hohn.dk>
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 9e020329
......@@ -203,9 +203,7 @@ class TextElement extends AbstractFormElement
$mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
$mainFieldHtml[] = '<div class="form-wizards-wrap">';
$mainFieldHtml[] = '<div class="form-wizards-element">';
$mainFieldHtml[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>';
$mainFieldHtml[] = htmlspecialchars($itemValue);
$mainFieldHtml[] = '</textarea>';
$mainFieldHtml[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
$mainFieldHtml[] = '</div>';
$mainFieldHtml[] = '<div class="form-wizards-items-aside">';
$mainFieldHtml[] = '<div class="btn-group">';
......
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