Re: Template formatting (e.g. HTMLtidy) ?

2006-03-12 Thread akaihola
I found this discussion concerning HTML Tidy and ASP.NET tags: http://blogs.borland.com/stevet/archive/2004/10/11/1568.aspx Another idea: Write a wrapper for HTML Tidy to convert Django tags/vars to HTML comments and back. It would be a serious hack, but could work: {% tagname parameters %} =>

Re: Template formatting (e.g. HTMLtidy) ?

2006-03-12 Thread akaihola
For Emacs users: Emacs' nxml-mode seems to work rather well with Django templates. It underlines tags and variable references with a red line, but otherwise it's nice to work with. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Template formatting (e.g. HTMLtidy) ?

2006-03-12 Thread [EMAIL PROTECTED]
Hi. Can anybody recommend a good tool (or PyDev/Eclipse plugin) for formatting template files? HTMLTidy with its default settings just doesn't cut it -- it insists on inserting HTML and body tags around the template and screwing up the template statements. Or maybe someone has a good working