Opened 17 years ago

Closed 17 years ago

#402 closed Bug (duplicate)

FCKEditor appears to add <br /> tags in Firefox

Reported by: simone Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: SVN (FCKeditor) - Retired
Keywords: Cc:


When I have post a <pre>...</pre> section. FCKEditor appears to insert <br /> tags when you view the item.

Only seems to happen with Firefox.


  1. Go to
  2. Click on "Source" to go to the HTML view in FCKEditor and paste this:

<div class="dropshadow code"> <div class="innerbox"><pre class="csharpcode"><span class="kwrd">public</span> <span class="kwrd">static</span> <span class="kwrd">class</span> StateHelper { <span class="kwrd">private</span> <span class="kwrd">static</span> <span class="kwrd">readonly</span> IList&lt;State&gt; _states = GetAllStates();

<span class="kwrd">public</span> <span class="kwrd">static</span> IList&lt;State&gt; States { get { <span class="kwrd">return</span> _states; } } }</pre></div></div>

  1. Click on the "Source" button again to go to WYSIWYG.
  2. Click on the "Source" button again to go to HTML view.

Notice there are <br /> tags in the content now. This does NOT happen in IE7.

Change History (2)

comment:1 Changed 17 years ago by simone

Milestone: FCKeditor 2.4.3

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: duplicate
Status: newclosed

DUP of #404

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy