[TxMt] Tidy and XML

Allan Odgaard throw-away-1 at macromates.com
Tue Nov 29 16:47:02 UTC 2005


On 29/11/2005, at 6:00, Nicholas Orr wrote:

> But I've had trouble getting the tidy to work in TextMate.  The  
> default XML - Tidy command just adds spaces between every single  
> character in the file.

Could you show an example?

If I enter: <foo><bar><fud><jaz /></fud></bar></foo>

I get (after running XML -> Tidy):

<?xml version="1.0"?>
<foo>
    <bar>
       <fud>
          <jaz/>
       </fud>
    </bar>
</foo>





More information about the textmate mailing list