|
This page last changed on Oct 18, 2011 by jed.wheeler@involver.com.
Overview
Escapes HTML, specifically the characters & \ " < >
Attributes
This filter takes no attributes.
Examples
In this example, we escape a <b> tag and present it as text instead of making the text bold.
{{ "<b> represents bold text" | escape_html }}
This yields the following output:
<b> represents bold text
FAQ
- What characters does this escape?
This filter escapes HTML tag-related reserved characters, most notably & \ " < and >
Related Topics
|