I am trying to create a webcomic RSS feed with Django, but I canโt put the image in the description field because the html code gets the escape code even if it is in the {% 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 to avoid this auto protection?
source share