Project

General

Profile

Actions

Bug #21209

closed

Empty paragraphs contain <br /> in Firefox instead of i.e.&nbsp;

Added by Propach about 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-10-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Propach about 15 years ago

How can i insert html tags??

FF: < p >< br / >< /p >

IE: < p >  & nbsp ; < / p >

Actions #2

Updated by Christian Hennecke over 14 years ago

Both ways of coding empty paragraphs seem to violate web standards. IIRC the correct way would be to use a "<p />" tag.

Actions #3

Updated by Christian Hennecke over 14 years ago

That should have been: < p / > tag

Actions #4

Updated by Stanislas Rolland over 14 years ago

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

Actions #5

Updated by Susanne Moog over 13 years ago

  • 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.

Actions

Also available in: Atom PDF