Ticket #402 (closed Bug: duplicate)

Opened 8 years ago

Last modified 8 years ago

FCKEditor appears to add <br /> tags in Firefox

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

Description

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.

Steps...

  1. Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html
  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

comment:1 Changed 8 years ago by simonech

  • Milestone FCKeditor 2.4.3 deleted

comment:2 Changed 8 years ago by fredck

  • Status changed from new to closed
  • Resolution set to duplicate

DUP of #404

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy