On 28 Jul 2006, at 01:50, Ahmad Alhashemi wrote:

> Default escaping couples the Django templates with HTML. I don't think
> that this is a good idea, even if HTML is, incidentally, the most
> commonly used language in templates, for the time being.

Here's an idea I don't think anyone has brought up yet: what if  
escaping was on by default for templates ending in .html and off by  
default for templates ending in .txt?

I'm not sure how I feel about this, seeing as we only recently made  
it so you had to specify the file extension. It seems to fit quite  
nicely though. That said, there may be problems getting it to work  
with alternative template sources.

Cheers,

Simon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to