Opened 12 years ago

Last modified 12 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 12 years ago by Jakub Ś

Component: GeneralCore : Parser
Keywords: js javascript removed
Status: newconfirmed
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.

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