Turn off auto escaping (HTML) in Django

/*--- holy mAcar00ns!! --- */

use the |safe filter

Django | The Django template language | Django Documentation: "To disable auto-escaping for an individual variable, use the safe filter:

This will be escaped: {{ data }}
This will not be escaped: {{ data|safe }}
Think of safe as shorthand for safe from further escaping or can be safely interpreted as HTML. In this example, if data contains '', the output will be:"

all your bases ar--

ping moi pleeez


About this entry

pacman is coming

nuck nuck

e belong to us!