Actions
Bug #19269
closedIndentation set with div section in htmlArea RTE is not rendered correctly in FE
Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
-
Start date:
2008-08-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions