Opened 8 years ago

Closed 8 years ago

#7385 closed Bug (invalid)

Failure to display content produced in earlier version

Reported by: Daniel Jomphe Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5.2
Keywords: Cc: affaires@…

Description

The following content, which was produced and displayed fine in 2.X, makes 3.5.2 fail:

<div class=\"buttons\" style=\"float: right;\">
<ul>
    <li><a href=\"/fr/path/path\"><span>BLA BLA BLAH</span></a></li>
</ul>
</div>

I have been able to reproduce this issue in the Demo page editors, too.

More precisely, this content fails to be displayed in FF4, IE9 and Chrome 10, but is displayed fine in Safari5 (Win) and Opera11. It worked well in FF3.X last week. IE9 hangs.

FF4 shows the following Javascript error:

regular expression too complex

Note that FF4 comes with a new Regex engine.

Change History (2)

comment:1 Changed 8 years ago by Daniel Jomphe

Cc: affaires@… added

comment:2 Changed 8 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

You have used an incorrect HTML syntax. Please check your code in http://validator.w3.org/.

If you remove backslashes from your code, it will work in CKEditor and will be error free in browsers.

<div class="buttons" style="float: right;">
<ul>
    <li><a href="/fr/path/path"><span>BLA BLA BLAH</span></a></li>
</ul>
</div>

You have also claimed that your code works in CKEditor in Safari 5. Paste your code in source mode, change to component mode and than back to source mode, you will see that code is completely different and probably not what you have expected.

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