html() and IE

html() and IE

simple code page with div content, there some things and i do : 
alert( $("#content").html() );
gives me really nasty code in IE it adds some of default values, changes code to uppercase as for really old html
opera and firefox works fine
is there a way to avoid custom code added by IE?

using ie8