On Fri, 2007-11-30 at 02:54 +0100, Michael Elsdörfer wrote: > I just updated to an auto-escaping enabled trunk, and I'm trying to > adjust some template tags. One of them stores a nodelist and renders > it at some point. > > Now, NodeList.render() returns escaped data, but does not mark it as > safe (it's a unicode instance). Is this just an oversight, or as > designed? If the latter, can anyone explain why?
It's an oversight; I hadn't thought of that case. You're right, marking render() output as safe should be the right thing to do. If you'd care to open a ticket so this doesn't get lost, I'll fix it tomorrow or during the sprint on the weekend. Cheers, 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 -~----------~----~----~----~------~----~------~--~---