@@ -19,7 +19,7 @@ string will not be in the parsed object. Examples are shown for the URL
19
19
20
20
Example: ` 'http:' `
21
21
22
- * ` slashes ` : The protocol requires slashes after the colon
22
+ * ` slashes ` : The protocol requires slashes after the colon.
23
23
24
24
Example: true or false
25
25
@@ -89,14 +89,14 @@ Here's how the formatting process works:
89
89
* The protocols ` http ` , ` https ` , ` ftp ` , ` gopher ` , ` file ` will be
90
90
postfixed with ` :// ` (colon-slash-slash).
91
91
* All other protocols ` mailto ` , ` xmpp ` , ` aim ` , ` sftp ` , ` foo ` , etc will
92
- be postfixed with ` : ` (colon)
92
+ be postfixed with ` : ` (colon).
93
93
* ` slashes ` set to ` true ` if the protocol requires ` :// ` (colon-slash-slash)
94
94
* Only needs to be set for protocols not previously listed as requiring
95
- slashes, such as ` mongodb://localhost:8000/ `
95
+ slashes, such as ` mongodb://localhost:8000/ ` .
96
96
* ` auth ` will be used if present.
97
97
* ` hostname ` will only be used if ` host ` is absent.
98
98
* ` port ` will only be used if ` host ` is absent.
99
- * ` host ` will be used in place of ` hostname ` and ` port `
99
+ * ` host ` will be used in place of ` hostname ` and ` port ` .
100
100
* ` pathname ` is treated the same with or without the leading ` / ` (slash).
101
101
* ` query ` (object; see ` querystring ` ) will only be used if ` search ` is absent.
102
102
* ` search ` will be used in place of ` query ` .
0 commit comments