Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 265 Bytes

filter_fix_ampersands.rst

File metadata and controls

12 lines (7 loc) · 265 Bytes

Replaces ampersands in the value with “&” entities.

For example:

{{ value|fix_ampersands }}

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

.. seealso:: :ref:`filter-escape`