

if the page was originally created with data assist, data assist adds code to the initial values of form elements on the update page to convert the quote character to the html entity "e; by default, most database extensions have some sort of formatting that is applied by default that needs to be removed when converting a field to an html editor instance.
ass for the cod3 reordering, HTMLEditor is base on the CKEditor engine.
CKEditor will reformat code based on the document type that is selected to prevent none standards compliant mark up. sometimes this ends up rearranging attributes of html tags.