> Probably best to file a ticket with a short example. Otherwise it will > just be forgotten.
Right, will do as soon as possible. > The escape filter documentation does say this. Quoting from the docs: > > Applying ``escape`` to a variable that would normally have > auto-escaping applied to the result will only result in one > round of escaping being done. So it is safe to use this function > even in auto-escaping environments. If you want multiple > escaping passes to be applied, use the ``force_escape`` filter. > Yes, but: {% blocktrans with album.title|escape as title %} will not escape at all, whereas {% blocktrans with album.title|force_escape as title %} will escape properly. From the quote, it seems that |escape will always result in one and only one round of escaping. In that particular case it does 0 though. I'm not sure if that's a bug in the implementation or if that's the documentation which is not clear enough to me. If you consider it as a bug, I'll file a ticket for this too. Cedric --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---