Transform BUG in $(html_String)
Look this:
+function(){
var s = '<h1><em class="a_b c" style="min-height:50px;_height:50px;">x</em></h1>';
var d = $(s);
alert(d.html());
}();
In Firefox, the result is:
<em class="a_b c" style="min-height: 50px;">x</em>
"_height:50px;" was
lost (At here, we thought it is good, because FF don't know it)
In IE, the result is:
<EM class="a_b c" style="MIN-HEIGHT: 50px; HEIGHT: 50px">x</EM>
"_height:50px;" transformed to "HEIGHT: 50px;" (It make a bad result that we can not use IE css hack
inline
)
-Charlie