Reputation: 283083
I've got a punch of Django template files that I want to use tidy to clean up. However, it inserts all this doctype and header junk that I don't want. Mainly, I just want it to fix the indentation. All the other stuff is just extra.
Does tidy even work on partial files like this? What command can I use?
Upvotes: 4
Views: 1822
Reputation: 1115
Use the Pretty Diff tool instead. It is a far more completely algorithm and it operates on incomplete input without making any assumptions.
http://prettydiff.com/?m=beautify&html
Upvotes: 1