1๐
โ
I assume you mean that you output the string from a variable using the {{ string }}
notation.
If you know the string you are outputting is safe, use the |safe
filter.
{{ string|safe }}
I would have to advise against doing this with any data that was supplied by the user without proper inspection.
๐คOhad
Source:stackexchange.com