mirror of
https://github.com/correl/urilib.git
synced 2025-03-17 17:00:13 -09:00
Fix code examples
This commit is contained in:
parent
6aeaae6779
commit
ffa64b680c
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -34,7 +34,7 @@ Decode a percent encoded string value.
|
|||
### decode_plus/1 ###
|
||||
|
||||
```erlang
|
||||
decode_plus(Value) -> DecodedValue
|
||||
decode_plus(Value) -> DecodedValue
|
||||
```
|
||||
|
||||
<ul class="definitions"><li><code>Value = string()</code></li><li><code>DecodeValue = string()</code></li></ul>
|
||||
|
@ -49,7 +49,7 @@ in RFC-3986.
|
|||
### encode/1 ###
|
||||
|
||||
```erlang
|
||||
encode(Value) -> EncodedValue
|
||||
encode(Value) -> EncodedValue
|
||||
```
|
||||
|
||||
<ul class="definitions"><li><code>Value = string()</code></li><li><code>EncodedValue = string()</code></li></ul>
|
||||
|
@ -61,7 +61,7 @@ Percent encode a string value.
|
|||
### encode_plus/1 ###
|
||||
|
||||
```erlang
|
||||
encode_plus(Value) -> EncodedValue
|
||||
encode_plus(Value) -> EncodedValue
|
||||
```
|
||||
|
||||
<ul class="definitions"><li><code>Value = string()</code></li><li><code>EncodedValue = string()</code></li></ul>
|
||||
|
@ -77,7 +77,7 @@ in RFC-3986.
|
|||
### parse_uri/1 ###
|
||||
|
||||
```erlang
|
||||
parse_uri(URI) -> ParsedURI
|
||||
parse_uri(URI) -> ParsedURI
|
||||
```
|
||||
|
||||
<ul class="definitions"><li><code>URI = string()</code></li><li><code>ParsedURI = #uri{}</code></li></ul>
|
||||
|
@ -89,7 +89,7 @@ Parse a URI string returning the parsed data as a record
|
|||
### parse_url/1 ###
|
||||
|
||||
```erlang
|
||||
parse_url(URL) -> ParsedURL
|
||||
parse_url(URL) -> ParsedURL
|
||||
```
|
||||
|
||||
<ul class="definitions"><li><code>URI = string()</code></li><li><code>ParsedURL = #url{}</code></li></ul>
|
||||
|
|
Loading…
Add table
Reference in a new issue