Max Battcher wrote: > On 3/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Jacob Kaplan-Moss wrote: >> >>> Why not do it for all variables? At times you want to pass chunks of >>> HTML into a template that get displayed raw. I don't think the >>> behavior you suggest should be default, but do you have any ideas on >>> how to make it optional? >> the standard solution is to use a wrapper for strings that you >> *don't* want escaped. see e.g. the section on "HTML templates" >> on this page: > > The other problem is that not everyone wants the same escape. For > instance, there are those of us that {% load markup %} and then > |restructuredtext (or |markdown or |textile) just about everything, > and auto-HTML escape could certainly cause havoc here.
those filters could first de-html-escape the content. i understand that it seems silly for this configuration. i only wanted to demonstrate that even with auto-html-escaping you can still use those markups fine. gabor --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---