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 %} => <!--DJANGO_TEMPLATE_CODE:{% tagname parameters %}--> There's of course the question of escaping the string "-->" in case it appears in a tag or variable reference, and the more tricky problem of Django tags/vars inside HTML comments... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---