Ticket #358 (closed Bug: duplicate)

Opened 20 months ago

Last modified 20 months ago

CDATA processing adds extra CRLF in IE

Reported by: simonech Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: SVN
Keywords: Cc:

Description (last modified by simonech) (diff)

I found a strange problem with the handing of CDATA sections inside the Source View. It affects only IE:

step to reproduce the bug:

1. Go to the test page (http://www.fckeditor.net/nightly/fckeditor/_samples/default.html)

2. Go to source view and delete everything

3. Paste into the source view the following text

<style type="text/css"><![CDATA[ .blah {

font-size: small;

} ]]></style>

4. Go to the normal view and than back to the source view

5. You get the following text:

<p><style type="text/css"> <![CDATA[ .blah {

font-size: small;

} ]]></style></p>

6. If you reiterate the same switching between the views, FCKeditor adds a new line everytime.

That doesn't happen in Firefox

Change History

  Changed 20 months ago by simonech

  • description modified (diff)

  Changed 20 months ago by simonech

  • milestone FCKeditor 2.4.3 deleted

  Changed 20 months ago by simonech

  • summary changed from CDATA processing adds extra CRLF to CDATA processing adds extra CRLF in IE

  Changed 20 months ago by fredck

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

Actually it has nothing to do with CDATA, but with <style>.

This is a DUP of #403.

follow-up: ↓ 6   Changed 20 months ago by simonech

usually bugs with higher number are marked as duplicate and removed, not the opposite :)

in reply to: ↑ 5   Changed 20 months ago by fredck

Replying to simonech:

usually bugs with higher number are marked as duplicate and removed, not the opposite :)

I know... it is just happening because not all bugs have been moved from SF yet.

Note: See TracTickets for help on using tickets.