escape
Escapes HTML characters.
Output is escaped automatically (see “Auto-escaping”), so you rarely need this; it’s kept so ported themes work. Text is escaped once either way.
Syntax
Section titled “Syntax”string | escapeReturns
Section titled “Returns”string
Example
Section titled “Example”<img alt="{{ 'Oud & musk "gift" set' | escape }}"><img alt="Oud & musk "gift" set">Related
Section titled “Related”Compatibility
Section titled “Compatibility”Since theme platform 1.0.
Was this page helpful?

