Opened 18 years ago
Closed 18 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: |
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...
- Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html
- 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<State> _states = GetAllStates();
<span class="kwrd">public</span> <span class="kwrd">static</span> IList<State> States { get { <span class="kwrd">return</span> _states; } } }</pre></div></div>
- Click on the "Source" button again to go to WYSIWYG.
- 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 18 years ago by
Milestone: | FCKeditor 2.4.3 |
---|
comment:2 Changed 18 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
DUP of #404