title: retrieving xhtml empty tags via javascript behaves strangely
body: <p>I have an xhtml page containing che following snippet</p>
  
  <pre><code>&lt;div id="content"&gt;
      &lt;br/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The page has correctly set the doctype</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
  </code></pre>
  
  <p>the problem is: when i use javascript to retrieve the innerHTML of the div element</p>
  
  <pre><code>document.getElementById("content").innerHTML
  </code></pre>
  
  <p>it returns "&lt;br&gt;" instead the expected "&lt;br/&gt;".
  Any explanation for this behaviour?</p>
  
  <p><a href="http://jsfiddle.net/PNekd/" rel="nofollow">jsFiddle</a></p>