Opened 10 years ago

Closed 4 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: fredck



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.


Moved from SF:

Change History (3)

comment:1 Changed 10 years ago by martinkou

  • Cc fredck added
  • Reporter changed from martinkou 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 9 years ago by w.olchawa

  • Keywords Confirmed added

comment:3 Changed 4 years ago by Reinmar

  • Resolution set to fixed
  • Status changed from confirmed to closed

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

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