I'm trying to make a webcomic RSS feed with Django, but I can't put an image in the description field, because the html code gets escaped, even if it's in an {% autoescape off %} block.
Here is my description template:
{% autoescape off %}
<img src="{{obj.img.url}}"/>
{% endautoescape %}
And this is the result:
<img src="http://localhost:8000/media/comics/001__.png"/>
How can I avoid this autoescaping?
Actually, you need to keep this auto-escaping... Look carefully at any other rss feeds: xkcd.com/rss.xml
Quote from spec by the RSS Advisory Board:
http://www.rssboard.org/rss-encoding-examples