website: Fix an example for urlencode function

The example did not reflect the actual behavior of escaping spaces.
This commit is contained in:
Ryoh Akiyoshi
2022-04-27 09:38:47 +09:00
committed by GitHub
parent 7fe3768327
commit 9b4600cc23

View File

@@ -22,8 +22,8 @@ UTF-8 and then percent encoding is applied separately to each UTF-8 byte.
## Examples
```
> urlencode("Hello World")
Hello%20World
> urlencode("Hello World!")
Hello+World%21
> urlencode("☃")
%E2%98%83
> "http://example.com/search?q=${urlencode("terraform urlencode")}"