Skip to content
Snippets Groups Projects
Commit cef81b4f authored by Henrik Elsner's avatar Henrik Elsner Committed by Wouter Wolters
Browse files

[TASK] Resolve empty table row issue

When saving a table content element an empty row was added
each time.
This issue is resolved by combining the lines to prevent
new line generation.

Resolves: #81050
Releases: master, 8.7
Change-Id: Id67808f10e1f573e587a08c9ff383fc7e0cc4dd5
Reviewed-on: https://review.typo3.org/52658


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarMona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: default avatarMona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 78affb44
Branches
Tags
No related merge requests found
...@@ -186,9 +186,7 @@ class TextTableElement extends AbstractFormElement ...@@ -186,9 +186,7 @@ class TextTableElement extends AbstractFormElement
$html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
$html[] = '<div class="form-wizards-wrap">'; $html[] = '<div class="form-wizards-wrap">';
$html[] = '<div class="form-wizards-element">'; $html[] = '<div class="form-wizards-element">';
$html[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>'; $html[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
$html[] = htmlspecialchars($itemValue);
$html[] = '</textarea>';
$html[] = '</div>'; $html[] = '</div>';
$html[] = '<div class="form-wizards-items-aside">'; $html[] = '<div class="form-wizards-items-aside">';
$html[] = '<div class="btn-group">'; $html[] = '<div class="btn-group">';
......
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