Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#143 closed Bug (fixed)

Browser locks with <!--{PS..x}--> in the contents

Reported by: anonymous Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: General Version: FCKeditor 2.4
Keywords: SF Confirmed Cc:

Description

We found a little bug. If you paste the following code in your editor (v 2.4 or older) and then switch 2 oder 3 time between source code and normal view the browser (IE 6 and 7 and Firefox 1, 1.5 and 2) hang up.

This is the code:

<h1>Test</h1>
<h4>test</h4>
<!--{PS..0}--><!--{PS..2}-->
<!--{PS..3}-->
test

Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1648545&group_id=75348&atid=543653

Change History (5)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Reporter: changed from Frederico Caldeira Knabben to anonymous

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added

We are aware about this issue. It happens because of the Protected Source feature, which enters in a loop in that case.

In any case, one would only have <!--{PS..x}--> comments in the HTML if accessing the editor area innerHTML directly, instead of using EditorInstance.GetXHTML(). The innerHTML method is not recommended because the editor must make some changes in the HTML before retrieving it (like the Protected Source processing, for example).

In any case, we'll be working to fix it.

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.5

comment:4 Changed 17 years ago by Martin Kou

Resolution: fixed
Status: newclosed

Fixed with [483].

Click here for more info about our SVN system.

comment:5 Changed 17 years ago by Frederico Caldeira Knabben

I liked the unique label idea. I've simplified the code with [485].

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