Skip to content

Commit

Permalink
Merge pull request #18 from sitegeist/task/removeWhitespace
Browse files Browse the repository at this point in the history
[TASK] Remove whitespace caused by component metadata
  • Loading branch information
s2b authored Jul 5, 2019
2 parents d00771d + a006f90 commit ee21e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/ComponentViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public function initializeArguments()
*/
public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
{
return $renderChildrenClosure();
return trim($renderChildrenClosure());
}
}

0 comments on commit ee21e46

Please sign in to comment.