Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 263 Bytes

filter_fix_ampersands.rst

File metadata and controls

12 lines (7 loc) · 263 Bytes
.. seealso:: :ref:`filter-escape`

Replaces ampersands in the value with “&” entities.

For example:

{{ value|fix_ampersands }}

If the value is hel&lo then the output is hel&lo.