#19269Indentation set with div section in htmlArea RTE is not rendered correctly in FE
Description
Quoting Jörg Wagner:
Since TYPO3 4.2 the RTE by default uses wrapper DIVs to indent block elements. Unfortunatelly there seems to be a problem with that technique: The FE partially replaces the DIV tags by P tags and this prevents the indenting from working correctly.
In the RTE I indent paragraphs and receive the correct tagging:
<div class=“indent”><p>Indenting Level 1</p></div>
<div class=“indent”><div class=“indent”><p>Indenting Level 2</p></div></div>
After saving this results in the following FE output:
<p class=“indent”>Indenting Level 1</p>
<p class=“indent”><div class=“indent”>Indenting Level 2</div></p>
The second line is invalid HTML and FireFox as well as IE show only one level of indenting. The replacement of DIV tags by P tags (and the elimination of the inner P tag on the second line) is done during FE output only. When I reopen the content in RTE, I see the correct DIV nesting again.
(issue imported from #M9261)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.