﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
404	PRE and Line Breaks	anonymous	Martin Kou	"When I choose ""Formatted"" format and then write some text containing new line characters and/or indentation (tabulations) I get the incorrect html code.

I used FCKeditor 2.0 FC.

I wrote:

{{{
This is my first line.
This is indented text.
}}}

Then I clicked on ""Source"" button in FCK and I got the following html code:

{{{
<pre>This is my first line.<br/>
This is indented text.</pre>
}}}

First of all there is no indentation. Secondly, the PRE element tells visual user agents that the enclosed text is ""preformatted"", so there should be no html tags (e.g. BR) in it. It should be just what I had written with tabs and new line characters.

Thirdly, switching between source and editor (pressing ""Source"" button) increases number of BR tags. When I clicked for the first time I received only one BR, but after next click I got 2 BR tags, then 4 BR tags and so on. This is what I got after three switches between ""Source"" and editor:

{{{
<pre>This is my first line.<br/>
<br/>
<br/>
<br/>
This is indented text.</pre>
}}}

----
Moved from SF:[[BR]]
http://sourceforge.net/tracker/index.php?func=detail&aid=1209755&group_id=75348&atid=543653
"	Bug	closed	Normal	FCKeditor 2.5 Beta	General	FCKeditor 2.3.2	fixed	SF EK SS Confirmed FireFox	jaydaley@… jefflv@…
