Liquid Filter Reference for url_encode - v0.9.5
Filter Name | url_encode |
Group | Text |
Version | 0.9.5 |
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.9.5
Back to Documentation