unescapeΒΆ

Removes HTML escaping from a text.

Expands the entities added by the escape filter or force_escape filter. This is useful when you want to display a field from the database in a text-only format medium.

For example:

Title: {{ m.rsc[id].title|unescape }}

Be careful that you only use this filter when you are absolutely sure that the output is not used in HTML or XML.

See also

escape, force_escape

Previous topic

twitter

Next topic

upper

Versions

Actions