Bug #21209
closed
Empty paragraphs contain <br /> in Firefox instead of i.e.
Added by Propach about 15 years ago.
Updated over 13 years ago.
Description
When I enter twice in rte the empty line looks as follows:
FF: <p><br /></p>
IE: <p> </p>
Sometimes in FF I also get an extra br-tag at the end of the last paragraph.
Sorry, I can't evaluate if this ist due to my rte configuration or simply a bug.
Typo3 4.2.4
(issue imported from #M12157)
How can i insert html tags??
FF: < p >< br / >< /p >
IE: < p > & nbsp ; < / p >
Both ways of coding empty paragraphs seem to violate web standards. IIRC the correct way would be to use a "<p />" tag.
That should have been: < p / > tag
Please explain how to reproduce. I think that in both browsers, after saving, the empty paragraph will be rendered as < p > & nbsp ; < / p >, otherwise the empty paragraph would be rendered in no browser in the FE. The RTE assumes that the author did intend to have an empty paragraph rendered in the FE.
@Christian: Please read: http://www.w3.org/TR/xhtml1/#C_3
- Status changed from Needs Feedback to Closed
- Target version deleted (
0)
- TYPO3 Version set to 4.5
Closed as unable to reproduce and no feedback for a long time. Please reopen the bug if this is still a problem.
Also available in: Atom
PDF