unescapeΒΆ

Removes HTML escaping from a text.

Expands the entities added by the filter-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

filter-escape, force_escape

Previous topic

slugify

Next topic

urlencode

Versions

Actions