Opened 8 years ago

Closed 7 years ago

#8167 closed Bug (expired)

CKEditor crashes on simple html code

Reported by: fernandomm Owned by:
Priority: Normal Milestone:
Component: Core : Parser Version:
Keywords: Cc:

Description

CKEditor crashes with this simple html code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  </head>
  <body>
    <br>
    <div>
    </div>
  </body>
</html>

Firefox points the problem to core/htmlparser/fragment.js:270.

If you remove the <br> it works:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  </head>
  <body>
    <div>
    </div>
  </body>
</html>

Change History (4)

comment:1 Changed 8 years ago by Jakub Ś

Status: newpending

I have tried to use your code in fullPage sample in CKEditor 3.6.1 but nothing unusual happened. Could you provide me with more detailed steps to reproduce the problem?

comment:2 Changed 8 years ago by Jakub Ś

@fernandomm any updates regarding this issue?

How did you use the above code that you have managed to break CKEditor?

comment:3 Changed 8 years ago by Jakub Ś

Version: 3.6.1

comment:4 Changed 7 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy