mirror of
https://github.com/kemko/liquid.git
synced 2026-01-02 00:05:42 +03:00
560 B
560 B
title, description
| title | description |
|---|---|
| url_encode | Liquid filter that encodes URL-unsafe characters in a string. |
Converts any URL-unsafe characters in a string into percent-encoded characters.
Input
```liquid {% raw %} {{ "john@liquid.com" | url_encode }} {% endraw %} ```Output
```text {{ "john@liquid.com" | url_encode }} ```Input
```liquid {% raw %} {{ "Tetsuro Takara" | url_encode }} {% endraw %} ```Output
```text {{ "Tetsuro Takara" | url_encode }} ```