Bug #14497
closedEmpty <p> tags inserted
0%
Description
Try entering this as html code in the RTE:
<p>par1</p>
<hr />
<p>par2</p>
When I save the document and views the source again, it has changed to this:
<p>par1</p>
<p></p><hr /><p></p>
<p>par2</p>
If I clicks save again, I get this:
<p>par1</p>
<p> </p>
<p></p><hr /><p></p>
<p> </p>
<p>par2</p>
... and the pattern continues.
Stanislas suggested (via email) that this problem could be caused by my typo3 configuration. But it would seem quite strange to me because this only happens when using rtehtmlarea. Using the standard RTE, no problems. Also, if I change to the source code view and write a div tag, it is converted to a p tag when saving the document. It does not change anything if I set the PROC->useDIVasParagraphTagForRTE typoscript setting.
(issue imported from #M685)