Ticket #402 (closed Bug: duplicate)

Opened 20 months ago

Last modified 20 months ago

FCKEditor appears to add <br /> tags in Firefox

Reported by: simonech Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: SVN
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>

3. Click on the "Source" button again to go to WYSIWYG. 4. 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

Changed 20 months ago by simonech

  • milestone FCKeditor 2.4.3 deleted

Changed 20 months ago by fredck

  • status changed from new to closed
  • resolution set to duplicate

DUP of #404

Note: See TracTickets for help on using tickets.