mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 08:45:42 +03:00
486 B
486 B
title
| title |
|---|
| escape |
Escapes a string by replacing characters with escape sequences (so that the string can be used in a URL, for example). It doesn't change strings that don't have anything to escape.
{% raw %}
{{ "Have you read 'James & the Giant Peach'?" | escape }}
{% endraw %}
{{ "Have you read 'James & the Giant Peach'?" | escape }}
{% raw %}
{{ "Tetsuro Takara" | escape }}
{% endraw %}
{{ "Tetsuro Takara" | escape }}