On Tue, 2007-12-18 at 09:39 -0800, shabda wrote: > So should not {{text|escape|textile}} remove html tags first, and then > apply the textile-markup to generate html?
The "escape" filter does not remove HTML tags, that's done by the "striptags" filter. "Escape" converts five special characters to their corresponding HTML entities. It also applies *last* in the sequence, regardless of where you specify it (and only applies once to avoid accidental double-escaping). Read the documentation for "escape" and "force_escape" carefully (and probably the backwards incompatible changes page's entry for autoescaping, since you are making assumptions about "escape" that are based on its old behaviour). This is all explained there. Regards, Malcolm -- A clear conscience is usually the sign of a bad memory. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---