mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
website: Fix an example for urlencode function
The example did not reflect the actual behavior of escaping spaces.
This commit is contained in:
@@ -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")}"
|
||||
|
||||
Reference in New Issue
Block a user