On Fri, 2008-08-29 at 11:16 -0700, Aidas Bendoraitis wrote: > Hello all! > > How to control the escaping of translations in templates? For example, > {% trans "I & Co" %} should be escaped in html templates but not in > javascript (or other language) templates.
You'll have to use different message identifiers for the two cases. It can't be controlled on an individual basis. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---