hi
i use setHtml method to set my html string and then use getHtml to get the html string back.
although i don't do anything but the content has been medified.
below is my test string and i highlight the different part:
before:
<p><img height="24" width="24" src="http://localhost:8080/DocServer/userfiles/temp/0001/addbk_24.png" alt="" /> test<font color="#0033ff"><br /></font></p>
after:
<p><img height="24" width="24" alt="" src="http://localhost:8080/DocServer/userfiles/temp/0001/addbk_24.png" /> test<font color="#0033ff"><br /></font></p>
could someone tell me why this happen and how to solve it??
Thu, 03/26/2009 - 10:11
#1
Re: html content problem
In particular, tag attributes may appear in a different order. The order isn't defined, but is usually consistent within a single browser.
Other things that might change include removal of invalid attributes or tags and added closure tags.