Textmate ha una funzione per indentare in modo bello l'HTML?
HTML Tidy lo riordina, ma sembra che cancelli anche i tag. (Questo non è completamente corretto HTML, ma ancora!)
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal">
<head>
<title></title>
<script type="text/javascript" src="http://www.speechapi.com/static/lib/swfobject.js"></script><scripttype="text/javascript" src="http://www.speechapi.com/static/lib/speechapi-1.1.js"></script><scripttype="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<body>
<!-- All above disappears -->
<p>Test</p>
<!-- All below disappears-->
</body>
</html>