Skip to content

Commit 684a587

Browse files
okuryuFishrock123
authored andcommitted
doc: fix missing periods in url.markdown
PR-URL: #1115 Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 8431fc5 commit 684a587

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/url.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ string will not be in the parsed object. Examples are shown for the URL
1919

2020
Example: `'http:'`
2121

22-
* `slashes`: The protocol requires slashes after the colon
22+
* `slashes`: The protocol requires slashes after the colon.
2323

2424
Example: true or false
2525

@@ -89,14 +89,14 @@ Here's how the formatting process works:
8989
* The protocols `http`, `https`, `ftp`, `gopher`, `file` will be
9090
postfixed with `://` (colon-slash-slash).
9191
* All other protocols `mailto`, `xmpp`, `aim`, `sftp`, `foo`, etc will
92-
be postfixed with `:` (colon)
92+
be postfixed with `:` (colon).
9393
* `slashes` set to `true` if the protocol requires `://` (colon-slash-slash)
9494
* 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/`.
9696
* `auth` will be used if present.
9797
* `hostname` will only be used if `host` is absent.
9898
* `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`.
100100
* `pathname` is treated the same with or without the leading `/` (slash).
101101
* `query` (object; see `querystring`) will only be used if `search` is absent.
102102
* `search` will be used in place of `query`.

0 commit comments

Comments
 (0)