[Answer]-Django 1.2 GAE python -> converts html to html safe string? replacing <br /> with the string

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.

Django docs

๐Ÿ‘คOhad

Leave a comment