[BUGFIX] Prevent duplicate empty lines for encapsLines 11/45111/5
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Sat, 3 Dec 2016 16:44:13 +0000 (17:44 +0100)
committerJan Helke <typo3@helke.de>
Sun, 4 Dec 2016 09:14:47 +0000 (10:14 +0100)
commitb4ed28a7d23e3b015dad14d4f8fdbfb019f9f2a4
treeb0e4d033a8588b334c60b5511315b24541cce5e2
parent958795c7db824ee96d42389357d12cfcf31842f8
[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>
typo3/sysext/core/Documentation/Changelog/master/Important-72050-EncapsLinesDoesNotRenderDuplicateParagraphs.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php