Twig filters to urldecode a string.
This plugin requires Craft CMS 3.x
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require akagibi/stringurldecode
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for String Urldecode.
Input:
{{ "Text%20without%20space" | urldecode }}
Output:
Text without space
Brought to you by Akagibi