Turn off auto escaping (HTML) in Django
/*--- holy mAcar00ns!! --- */
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
You’re reading “
- Published:
- 6:58 PM
pacman is coming
nuck nuck
e belong to us!
0 Comments (Post a Comment)