Can Textmate nicely indent HTML? Does Textmate have a function to nicely indent HTML?

HTML Tidy indents it - but it seems to delete tags as well. (This isn't completely proper HTML, but still!)

&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal"&gt;
    &lt;head&gt;
        &lt;title&gt;&lt;/title&gt;
    &lt;script type="text/javascript" src="http://www.speechapi.com/static/lib/swfobject.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="http://www.speechapi.com/static/lib/speechapi-1.1.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;body&gt;
    &lt;!-- All above disappears --&gt;       
    &lt;p&gt;Test&lt;/p&gt;
    &lt;!-- All below disappears--&gt;
&lt;/body&gt;
&lt;/html&gt;
You can press &#x2318;+A to select all then Text-&gt;Indent Selection.