Answer the question
In order to leave comments, you need to log in
How can I prevent django from escaping certain tags when outputting to a template?
Actually how to remove auto-escaping for a tag <br>
for example?
Answer the question
In order to leave comments, you need to log in
from django.utils.safestring import mark_safe
mark_save('some html')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question