On Mon, 2009-01-26 at 14:52 -0800, Margie wrote: > Thanks very much, autoescape did the trick, here is the result for > anyone interested: > > {% autoescape off %} > <td>{{ task.done|yesno:"<img src=\"/site_media/img/icon-yes.gif > \" alt=\"False\" />,<img src=\"/site_media/img/icon-no.gif\" alt= > \"False\" />" }}</td> > {% endautoescape %}
Hmmm ... then that's actually a bug. Raw strings, including arguments to template filters, should not be being autoescaped. The reason being that the template author is in complete control of those strings and will know whether he wants to use HTML entities or not. I thought we were doing that consistently throughout, but apparently not. *Sigh* Another thing to add to my ever-growing list of things to fix, I guess. 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---