Opened 15 years ago
Last modified 12 years ago
#4638 confirmed Bug
Incorrent wrapping of tags
Reported by: | Johannes Lindenbaum | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: |
Description (last modified by )
CKEditor 3.0.1 is incorrectly wrapping tags with arbitrary <p> tags.
Problem / Steps to reproduction:
- Switch to HTML mode, type:
<br /><script type="text/javascript">alert('hello');</script>
or
sample text <script type="text/javascript">alert('hello');</script>
- Switch to WYSIWYG
Expected result (as per XHTML spec):
<script type="text/javascript">alert('hello');</script>
Actual result:
<p><br /><script type="text/javascript">alert('hello');</script></p>
This problem shouldn't / can not be remedied by changing the enter mode, as we want text wrapped in <p>, but not <script> tags
Kind Regards,
Johannes
Change History (3)
comment:1 Changed 12 years ago by
Component: | General → Core : Parser |
---|---|
Status: | new → confirmed |
Version: | 3.0.1 → 3.0 |
comment:2 Changed 12 years ago by
Component: | Core : Parser → General |
---|
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|