Opened 5 years ago

Last modified 5 years ago

#9048 confirmed Bug

Code javascript in ckEditor

Reported by: org.ale Owned by:
Priority: Normal Milestone:
Component: Core : Parser Version: 3.0
Keywords: Cc:


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 5 years ago by j.swiderski

  • Component changed from General to Core : Parser
  • Keywords js javascript removed
  • Status changed from new to confirmed
  • Version set to 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 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy