Liquid Filter Reference for escape - v0.9.5
Filter Name | escape |
Group | Text |
Version | 0.9.5 |
Description
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.
Examples
{{ "Click 'Add to Cart' when you're ready to purchase" | escape }}
Click 'Add to Cart' when you're ready to purchase
{{ "Nothing to see here" | escape }}
Nothing to see here
Back to Liquid Reference for 0.9.5
Back to Documentation