Hi Cam, thanks for your help.
It's not really about the elements. The browser just doesn't read the page as XML. In chrome I can close sections in XML, while mine is just one big clutter. I have no idea if it's possible to make the feed do that through templating. Removing the <pre> doesn't help.