Ticket #1355 (closed Bug: fixed)
Converting <p> to <pre> may add additional line breaks
|Reported by:||fredck||Owned by:||martinkou|
|Component:||General||Version:||SVN (FCKeditor) - Retired|
Steps to Reproduce
- Load the following HTML:
<p>Line 1<br /> Line 2<br /> Line 3</p>
- Change the paragraph Format to "Formatted".
Note that each line has been separated by a double line break. It doesn't happen if we have the following <p> instead:
<p>Line 1<br />Line 2<br />Line 3</p>
Things get even worst if the initial <p> looks like this:
<p> Some sample </p>
It is evident that the whitespace of the original <p> is being preserved on the transformation, but the expected result for the above case is:
This is not a problem with IE, as it automatically eats whitespaces when parsing.
- Owner set to martinkou
- Status changed from new to assigned