Ticket #358 (closed Bug: duplicate)
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