Files
liquid/_filters/escape.md
2015-07-25 17:09:54 -04:00

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.