Opened 16 years ago
Closed 16 years ago
#5320 closed Bug (invalid)
Problems with "e;
| Reported by: | Iulian | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Output Data | Version: | |
| Keywords: | Cc: | iulian_ilea@… |
Description
Steps to reproduce:
- Copy this code into a HTML page as the content of a CKEditor:
<object data="http://ii/ckeditor/plugins/flowplayer/flowplayer-3.1.5.swf" height="344" type="application/x-shockwave-flash" width="425"><param name="movie" value="http://ii/ckeditor/plugins/flowplayer/flowplayer-3.1.5.swf" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value="config={"clip":{"url":"http://flashy.flowplayer.org/video/flowplayer-700.flv","autoPlay":false}}" /></object>
- Open the page in a browser. When the CKEditor is loaded switch to "Source". It results in an invalid HTML code:
<object data="http://ii/ckeditor/plugins/flowplayer/flowplayer-3.1.5.swf" height="344" type="application/x-shockwave-flash" width="425"><param name="movie" value="http://ii/ckeditor/plugins/flowplayer/flowplayer-3.1.5.swf" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param :="" autoplay="" clip="" flashy.flowplayer.org="" flowplayer-700.flv="" http:="" name="flashvars" url="" value="config={" video="" /></object>
Change History (3)
comment:1 Changed 16 years ago by
| Keywords: | "e removed |
|---|---|
| Priority: | High → Normal |
| Resolution: | → worksforme |
| Status: | new → closed |
comment:2 Changed 16 years ago by
| Cc: | iulian_ilea@… added |
|---|---|
| Resolution: | worksforme |
| Status: | closed → reopened |
Hi,
I am also using the latest version. I have posted a URL where the error happens: http://sp2.ro/368130
Also see the source code.
comment:3 Changed 16 years ago by
| Resolution: | → invalid |
|---|---|
| Status: | reopened → closed |
This is a basic mistake when integrating the editor. As we can see in the demo page, you're loading the raw data inside the <textarea> tag, instead of "html encoding" it first.
Just look at our samples. You'll see that the sample text doesn't start with <p> but with <p>. The same thing must be done with your data when loading it, in this way the " entities will be transformed into &quot;, remaining unchanged by the browsers.

It works for me with CKEditor 3.2 in both FF and IE.