My blog uses some very simple Django apps, and applications in contrib for most of the features, including django.contrib.syndication.feeds.
I've recently noticed that my RSS isn't being properly escaped (see http://jonatkinson.co.uk/feeds/blog/), so I thought that simply wrapping my RSS blog_description.html template in an autoescape tag would solve the problem: {% autoescape off %} {{ obj.content|linebreaks }} {% endautoescape %} ... where obj.content is a post object, and I want to have Django add the <p> and </p> tags for me (hence the |linebreaks). However, this doesn't seem to have made the problem go away, or does any combination of {{ autoescape off }}, |safe, or similar. I'm sure I'm not the only person who has come across this problem - is there a magic combination of template filters to fix this? I realise that RSS shouldn't be presentational, and that is it hard for Django to determine whether a < or a > is meant literally or as part of a tag, but surely this is a very common usage pattern? Any help would be much appreciated. --Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

