mirror of
https://github.com/kemko/liquid.git
synced 2026-01-07 10:45:42 +03:00
395 B
395 B
title
| title |
|---|
| escape_once |
Escapes a string without changing existing escaped entities. It doesn't change strings that don't have anything to escape.
{% raw %}
{{ "1 < 2 & 3" | escape_once }}
{% endraw %}
{{ "1 < 2 & 3" | escape_once }}
{% raw %}
{{ "1 < 2 & 3" | escape_once }}
{% endraw %}
{{ "1 < 2 & 3" | escape_once }}