Opened 15 years ago

Last modified 12 years ago

#4638 confirmed Bug

Incorrent wrapping of tags — at Initial Version

Reported by: Johannes Lindenbaum Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

CKEditor 3.0.1 is incorrectly wrapping tags with arbitrary <p> and <br /> tags.

Problem / Steps to reproduction: Switch to HTML mode, type: <script type="text/javascript">alert('hello');</script>

Expected result (as per XHTML spec): <script type="text/javascript"> <![CDATA[ alert('hello'); ]]></script>

Actual result: <p>

<br /> <script type="text/javascript">alert('hello');</script></p>

This problem also exists in the demo (http://ckeditor.com/demo)

This problem shouldn't / can not be remedied by changing the enter mode, as we want text wrapped in <p>, but not <script>

<table is not wrapped in <p> when added in HTML mode.

Kind Regards, Johannes

Change History (0)

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