Opened 17 years ago
Last modified 17 years ago
#358 closed Bug
CDATA processing adds extra CRLF — at Version 1
Reported by: | simone | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Source View | Version: | SVN (FCKeditor) - Retired |
Keywords: | Cc: |
Description (last modified by )
I found a strange problem with the handing of CDATA sections inside the Source View. It affects only IE:
step to reproduce the bug:
- Go to the test page (http://www.fckeditor.net/nightly/fckeditor/_samples/default.html)
- Go to source view and delete everything
- Paste into the source view the following text
<style type="text/css"><![CDATA[ .blah {
font-size: small;
} ]]></style>
- Go to the normal view and than back to the source view
- You get the following text:
<p><style type="text/css"> <![CDATA[ .blah {
font-size: small;
} ]]></style></p>
- If you reiterate the same switching between the views, FCKeditor adds a new line everytime.
That doesn't happen in Firefox