Skip to content

Commit

Permalink
website: Fix an example for urlencode function
Browse files Browse the repository at this point in the history
The example did not reflect the actual behavior of escaping spaces.
  • Loading branch information
rakiyoshi committed Apr 27, 2022
1 parent 7fe3768 commit 9b4600c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/language/functions/urlencode.mdx
Expand Up @@ -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")}"
Expand Down

0 comments on commit 9b4600c

Please sign in to comment.