[BUGFIX] RTE: Empty paragraphs are not correctly transformed 01/18801/3
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 25 May 2012 17:17:53 +0000 (13:17 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 8 Mar 2013 19:15:15 +0000 (20:15 +0100)
commitf298cf00322f631cf8d9eaca583dd54e2e07709d
tree2ff029e3e851b068bf59f27d263609f2ec7da6d6
parent1292345641d88efa3b908b5ed9ebc07f63326ce7
[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.

Change-Id: I6c5495fb668f29267bcdeb7b44814a4bb9dc0f96
Releases: 4.5, 4.7, 6.0, 6.1
Resolves: #36904
Reviewed-on: https://review.typo3.org/18801
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
t3lib/class.t3lib_parsehtml_proc.php
tests/t3lib/class.t3lib_parsehtml_procTest.php