[BUGFIX] Prevent duplicate empty lines for encapsLines
When the last line in the text passed to encaps_lineSplit() is empty a possible duplicate empty line is removed. Releases: master Resolves: #72050 Change-Id: I358ae5e1e6e9731d4649add7951c93e62df3bb7e Reviewed-on: https://review.typo3.org/45111 Reviewed-by:Manuel Glauser <mail@manuelglauser.ch> Tested-by:
Manuel Glauser <mail@manuelglauser.ch> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Jan Helke <typo3@helke.de> Tested-by:
Jan Helke <typo3@helke.de>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Important-72050-EncapsLinesDoesNotRenderDuplicateParagraphs.rst 22 additions, 0 deletions...ant-72050-EncapsLinesDoesNotRenderDuplicateParagraphs.rst
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 11 additions, 3 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 20 additions, 0 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
Please register or sign in to comment