Escapes a string without changing existing escaped entities. It doesn’t change strings that don’t have anything to escape.
Input
{{ "1 < 2 & 3" | escape_once }}
Output
1 < 2 & 3
{{ "1 < 2 & 3" | escape_once }}
Last updated 2 years ago