[BUGFIX] RTE: Empty paragraphs are not correctly transformed 21/11621/5
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:37:57 +0000 (23:37 +0100)
commitd07887a7d6622ae94103660c4352100039157b19
tree0c14adf6259f54c2f98d35e536139711ef965d18
parent142cd978d36becd1458d7435968cd5d80c97d3a4
[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/11621
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Tested-by: Mario Rimann
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php