[BUGFIX] RTE: Empty paragraphs are not correctly transformed 99/18799/2
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 11 Dec 2012 16:00:36 +0000 (11:00 -0500)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 7 Mar 2013 22:38:12 +0000 (23:38 +0100)
commit3a2844efe275d884f96184d3c8d36ac69dab0262
tree5ebdacdebdfd4a85e33da32be5a90b2eed595a95
parent4973b07cb59ab4b444b8c2ff06fb01b1497bbe9b
[BUGFIX] RTE: Empty paragraphs are not correctly transformed

Problem: Empty paragraphs entered in the RTE may get lost on way to
database if no block is found in content, as well as on way to the RTE
if followed by a block.
Solution: Fix both transformations and add multiple unit test
cases.

Releases: 4.5, 4.7, 6.0, 6.1
Resolves: #36904
Resolves: #26141

Change-Id: I6c5495fb668f29267bcdeb7b44814a4bb9dc0f96
Reviewed-on: https://review.typo3.org/18799
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php