Ticket #4638 (confirmed Bug)
Incorrent wrapping of tags
| Reported by: | jlindenbaum | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.0 |
| Keywords: | Cc: |
Description (last modified by j.swiderski) (diff)
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
Note: See
TracTickets for help on using
tickets.
