Skip to content

escape_once

HTML-escapes without double-escaping entities. (standard Liquid filter.)

Example

{{ "&amp; <" | escape_once }}

Output:

&amp; &lt;