Opened 13 years ago
Last modified 13 years ago
#9048 confirmed Bug
Code javascript in ckEditor
Reported by: | Ale | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Parser | Version: | 3.0 |
Keywords: | Cc: |
Description
When javascript code is inserted in source mode in the middle of html code and it has spaces in the closing script tag, rendering in display mode fails.
i.e. <script>alert("hello world!");< / script>
Change History (1)
comment:1 Changed 13 years ago by
Component: | General → Core : Parser |
---|---|
Keywords: | js javascript removed |
Status: | new → confirmed |
Version: | → 3.0 |
Problem has been reproducible in all browsers from CKEditor 3.0 (Only Chrome logs nice error).
Message: Uncaught SyntaxError: Unexpected token <
Line: 248
URI: ckeditor/_source/core/dom/document.js
NOTE: this message has been thrown from CKEditor 3.5.1. Before this version syntax error was thrown in wysiwygarea plugin or on HTML page.