url_encode - Liquid Filter Reference - 0.11.4
Filter Name | url_encode |
Group | Text |
Version | 0.11.4 |
Description
Converts any URL-unsafe characters in a string into percent-encoded characters.
Examples
{{ "john@example.com" | url_encode }}
john%40example.com
Note that url_encode
will turn a space into a + sign instead of a percent-encoded character:
{{ "About Us" | url_encode }}
About+Us
Back to Liquid Reference for 0.11.4
Back to Documentation