On Tue, Aug 19, 2008 at 1:13 PM, tom17 <[EMAIL PROTECTED]> wrote: > > I developed something using the trunk, now we have a change in the > requirement and we need to use the 0.96 version as the hosting service > provider supports only the stable version. I know I have to change a > lot of things, > So what I want to ask is what is the alternative for > {% autoescape off %}{{ abc.text|truncatewords:100 }}{% endautoescape > %} >
Autoescaping of variable content was introduced long after the release of 0.96, so if you really want to stay with this version you can just leave the autoescape tags away since "autoescape off" was the standard behavior back then. Of course, you have to escape _all_ variables not inside an "autoescape off" block which might contain HTML code explicitly with 0.96! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---