#2780: Protected elements are being outputted without closing tags.
-----------------------+----------------------------------------------------
Reporter: martinkou | Owner: martinkou
Type: Bug | Status: new
Priority: High | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: |
-----------------------+----------------------------------------------------
Run the following code in Firebug, with replacebyclass.html sample opened:
{{{
var editor = CKEDITOR.instances.editor1;
var o = new CKEDITOR.dom.element('object', editor.document);
o.append(new CKEDITOR.dom.element('embed', editor.document));
var i = editor.fakeobjects.protectElement(o);
editor.document.getBody().append(i);
}}}
An object with an embed tag inside is inserted to the document. Now switch
to Source mode. The HTML output reads like this:
{{{
<p>
This is some <strong>sample text</strong>. You are using <a
href="http://www.fckeditor.net/">FCKeditor</a>.</p>
<object><embed></object>
}}}
Note the <embed> tag doesn't have a closing tag, and it's not self
closing.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2780>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac