Opened 14 years ago

Closed 14 years ago

#5976 closed Bug (wontfix)

"malformed" HTML being removed

Reported by: routinet Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: 3.3.1
Keywords: Confirmed CantFix Cc:

Description

If the content being loaded in CKEditor includes malformed HTML, CKEditor corrects/removes it.

CKEditor 3.3.1 (revision 5586) (verified back to 3.1.8 rev. 4891) Firefox 3.6.6/IE8 x64

Example content: </div> </div> <? $somephp="here"; ?>

FireFox Output: <? $somephp="here"; ?><br />

IE8 x64 Output: <div>&nbsp;</div> <div>&nbsp;</div> <? $somephp="here"; ?>

The content does not have to be saved. Switching between "normal" and "source" view triggers the behavior. Also see #5293 and #5606.

Change History (1)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Confirmed CantFix added
Resolution: wontfix
Status: newclosed

CKEditor feeds the browser with the malformed HTML. The reported outputs reflect the way browsers transform it into the DOM tree, and that's the date the editor has to work with.

In any case, CKEditor will always produce "valid" HTML.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy