I must say I really like Luke's (I think it was Luke) idea of
different tags for escaping vs. auto-escaping.
What if we deprecated {{ }} and replaced it with an escape tag and a
raw tag? It would keep backward compatibility, but would encourage
people to use escaped strings unless they have a reason to use raw
ones. I suppose we don't really have to deprecate it, but just
discourage its use.
{! !} seems perfect for raw, because the exclamation points emphasize
that something bad could happen.
{$ $} could be used for escaping, with the $'s designed to remind
people of environment variables. This would be tag people are
encouraged to use unless they need raw HTML text.
Todd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---