Jquery html() cannot convert all xhtml to html standard
<p>I am trying to grab html code from my site. I can do so using <code>html()</code> and I need to compare the string.</p>

<p>For example.</p>

<p>I get <code>&lt; br/&gt;</code> however it seems the browser or jquery only get <code>&lt; br&gt;</code> - without the closing slash.</p>

<p>I researched and found this <a href="http://bugs.jquery.com/ticket/4509" rel="nofollow">http://bugs.jquery.com/ticket/4509</a></p>

<p>It seems that it can be resolved by serving the page as application/xml+xhtml. However, I can't get it working. Any expert advice appreciated.</p>
