[jQuery] $('#xxx').html() changing xhtml to html

[jQuery] $('#xxx').html() changing xhtml to html


I am trying to parse the html out of a specific div to save it with
php into a SQL-database.
Working good so far.
The html is valid xhtml, but html() makes
instead of <br /> and
<img......> instead of <img...../>
Is there a workaround to get the xhtml?