Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 521 Bytes

filter_unescape.rst

File metadata and controls

17 lines (11 loc) · 521 Bytes

django

Removes HTML escaping from a text.

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

filter-escape, filter-force_escape