Changes between Initial Version and Version 3 of Ticket #4638
- Timestamp:
- Jun 13, 2012, 12:36:06 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4638
-
Property
Status
changed from
new
toconfirmed
-
Property
Version
changed from
3.0.1
to3.0
-
Property
Status
changed from
-
Ticket #4638 – Description
initial v3 1 CKEditor 3.0.1 is incorrectly wrapping tags with arbitrary <p> and <br />tags.1 CKEditor 3.0.1 is incorrectly wrapping tags with arbitrary <p> tags. 2 2 3 Problem / Steps to reproduction: 4 Switch to HTML mode, type: 5 <script type="text/javascript">alert('hello');</script> 3 **Problem / Steps to reproduction:** 4 1. Switch to HTML mode, type: 6 5 7 Expected result (as per XHTML spec): 8 <script type="text/javascript">// <![CDATA[ 9 alert('hello'); 10 // ]]></script> 6 {{{ 7 <br /><script type="text/javascript">alert('hello');</script> 8 }}} 9 or 10 {{{ 11 sample text <script type="text/javascript">alert('hello');</script> 12 }}} 13 2. Switch to WYSIWYG 14 **Expected result (as per XHTML spec):** [[BR]] 15 {{{<script type="text/javascript">alert('hello');</script>}}} 11 16 12 Actual result: 13 <p> 14 <br /> 15 <script type="text/javascript">alert('hello');</script></p> 17 **Actual result:** [[BR]] 18 {{{<p><br /><script type="text/javascript">alert('hello');</script></p>}}} 16 19 20 This problem shouldn't / can not be remedied by changing the enter mode, **as we want text wrapped in <p>, but not <script> tags** 17 21 18 This problem also exists in the demo (http://ckeditor.com/demo) 19 20 This problem shouldn't / can not be remedied by changing the enter mode, as we want text wrapped in <p>, but not <script> 21 22 <table is not wrapped in <p> when added in HTML mode. 23 24 Kind Regards, 22 Kind Regards,[[BR]] 25 23 Johannes