Opened 18 years ago

Closed 11 years ago

#621 closed New Feature (fixed)

RC3: IE and Gecko generate different HTML code

Reported by: agrebnev@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF Cc: Frederico Caldeira Knabben

Description

Hello

I use diff (merge) algorithm on html generated by FCKEditor.

But there is a problem, under IE and Gecko browsers FCKEditor generate different HTML code for equals texts. For example:

IE: <div style="MARGIN-TOP: 10px" align="justify"> Gecko: <div align="justify" style="margin-top: 10px;" >

Of course diff algorithm considers these line as different.

It will be very cool to force browsers to generate equals HTML code.

Thanks


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

Change History (3)

comment:1 Changed 18 years ago by Martin Kou

Cc: Frederico Caldeira Knabben added
Reporter: changed from Martin Kou to agrebnev@…

This is quite difficult, because the HTML is generated and managed by the browser, not the editor.

In any case, the final behavior is the same (the attributes order and contents case doesn't change the result). So, I'll set your request as a "Feature Request". Let's see what could be done in the future.

Best regards, FredCK


Moved from SF. Original poster: fredck

comment:2 Changed 17 years ago by Wojciech Olchawa

Keywords: Confirmed added

comment:3 Changed 11 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

This was fixed a long time ago. Attributes are sorted and style lowercased.

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