Hi all!
There seems to be a problem with fckeditor when using <pre> which is activated with Format:Formatted. If you start a format and write several lines with a linebreak, there are <br>s added although text in <pre> does not need to containt <br> in order to break text. this way the linebreaks are counted double by the browser. But it gets even worse. If you edit the text next time and save it again more <br>s are added. This can be continued endlessly. I checked the official demo on fckeditor.net and it also produces output with <br>s altough the text is formatted "Formatted"(<pre>).
I can't believe such a major bug haven't been noticed yet. Can anyone confirm the described behaviour? Is there a workaround or fix?
Thank you for reading.
There seems to be a problem with fckeditor when using <pre> which is activated with Format:Formatted. If you start a format and write several lines with a linebreak, there are <br>s added although text in <pre> does not need to containt <br> in order to break text. this way the linebreaks are counted double by the browser. But it gets even worse. If you edit the text next time and save it again more <br>s are added. This can be continued endlessly. I checked the official demo on fckeditor.net and it also produces output with <br>s altough the text is formatted "Formatted"(<pre>).
I can't believe such a major bug haven't been noticed yet. Can anyone confirm the described behaviour? Is there a workaround or fix?
Thank you for reading.

RE: <pre> and <br>
check your fckconfig.js file. Is your FCKConfig.FormatSource = false ; or true
If it is true then for example if you type this code into the source view:
<pre>
test the
pre tag
</pre>
then click on source botton to view in html editor view. Then click back on source you will see:
<PRE>
test the
pre tag
</PRE>
So something is funny there.
RE: <pre> and <br>
I entered the text directly into the editor in normal mode. The settings you described was set to true. I tried both true and false and was even worse than you describe:
When I enter
<pre>first
second
third</pre>
and change to non-source-view it show the text correctly. If I then switch back to source-view it shows me
<pre>first second third </pre>
if I change to normal view again of course it only shows
first second third
Do you habe some kind of workaround for this?
RE: <pre> and <br>
what browser are you using? I know this may sound wierd but try removing tools off the tool bar and see if that helps. I say this because(I cant remember the details now) I was having a problem with cut and paste in Firefox and removing some of the tools helped. Cant remember what they were now.
fwiw Here is the first part of my .js file:
FCKConfig.AutoDetectLanguage = true ;
FCKConfig.DefaultLanguage = 'en' ;
FCKConfig.ContentLangDirection = 'ltr' ;
FCKConfig.EnableXHTML = false ;
FCKConfig.EnableSourceXHTML = true ;
FCKConfig.FillEmptyBlocks = true ;
FCKConfig.FormatSource = false ;
FCKConfig.FormatOutput = false ;
FCKConfig.FormatIndentator = ' ' ;
FCKConfig.GeckoUseSPAN = true ;
FCKConfig.StartupFocus = false ;
FCKConfig.ForcePasteAsPlainText = false ;
FCKConfig.ForceSimpleAmpersand = false ;
FCKConfig.TabSpaces = 0 ;
FCKConfig.ShowBorders = true ;
FCKConfig.UseBROnCarriageReturn = true ;
FCKConfig.ToolbarStartExpanded = true ;
FCKConfig.ToolbarCanCollapse = true ;