Ticket #9048 (confirmed Bug)

Opened 22 months ago

Last modified 22 months ago

Code javascript in ckEditor

Reported by: org.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

comment:1 Changed 22 months ago by j.swiderski

  • Keywords js, javascript removed
  • Status changed from new to confirmed
  • Version set to 3.0
  • Component changed from General to Core : Parser

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy