mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 17:25:41 +03:00
530 B
530 B
title
| title |
|---|
| escape |
Escapes a string by replacing characters with escape sequences (so that the string can be used in a URI).
| Code | Output |
|---|---|
| {% raw %}`{{ "Need tips? Ask a friend!" | escape }}`{% endraw %} |
| {% raw %}`{{ "Nope" | escape }}`{% endraw %} |
It doesn't modify strings that have nothing to escape.