escape_once
Escapes HTML without escaping existing entities twice.
Syntax
Section titled “Syntax”string | escape_onceReturns
Section titled “Returns”string
Example
Section titled “Example”{{ '1 < 2 & 3' | escape_once }}1 < 2 & 3Related
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

