doc: remove "note that" from url.md
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16 PR-URL: https://github.com/nodejs/node/pull/28329 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
e05f7228c8
commit
ecead5f61e
@ -170,7 +170,7 @@ console.log(myURL.href);
|
|||||||
```
|
```
|
||||||
|
|
||||||
Invalid URL characters included in the value assigned to the `hash` property
|
Invalid URL characters included in the value assigned to the `hash` property
|
||||||
are [percent-encoded][]. Note that the selection of which characters to
|
are [percent-encoded][]. The selection of which characters to
|
||||||
percent-encode may vary somewhat from what the [`url.parse()`][] and
|
percent-encode may vary somewhat from what the [`url.parse()`][] and
|
||||||
[`url.format()`][] methods would produce.
|
[`url.format()`][] methods would produce.
|
||||||
|
|
||||||
@ -276,7 +276,7 @@ console.log(myURL.href);
|
|||||||
```
|
```
|
||||||
|
|
||||||
Invalid URL characters included in the value assigned to the `password` property
|
Invalid URL characters included in the value assigned to the `password` property
|
||||||
are [percent-encoded][]. Note that the selection of which characters to
|
are [percent-encoded][]. The selection of which characters to
|
||||||
percent-encode may vary somewhat from what the [`url.parse()`][] and
|
percent-encode may vary somewhat from what the [`url.parse()`][] and
|
||||||
[`url.format()`][] methods would produce.
|
[`url.format()`][] methods would produce.
|
||||||
|
|
||||||
@ -297,7 +297,7 @@ console.log(myURL.href);
|
|||||||
```
|
```
|
||||||
|
|
||||||
Invalid URL characters included in the value assigned to the `pathname`
|
Invalid URL characters included in the value assigned to the `pathname`
|
||||||
property are [percent-encoded][]. Note that the selection of which characters
|
property are [percent-encoded][]. The selection of which characters
|
||||||
to percent-encode may vary somewhat from what the [`url.parse()`][] and
|
to percent-encode may vary somewhat from what the [`url.parse()`][] and
|
||||||
[`url.format()`][] methods would produce.
|
[`url.format()`][] methods would produce.
|
||||||
|
|
||||||
@ -373,7 +373,7 @@ console.log(myURL.port);
|
|||||||
// Prints 1234
|
// Prints 1234
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that numbers which contain a decimal point,
|
Numbers which contain a decimal point,
|
||||||
such as floating-point numbers or numbers in scientific notation,
|
such as floating-point numbers or numbers in scientific notation,
|
||||||
are not an exception to this rule.
|
are not an exception to this rule.
|
||||||
Leading numbers up to the decimal point will be set as the URL's port,
|
Leading numbers up to the decimal point will be set as the URL's port,
|
||||||
@ -460,7 +460,7 @@ console.log(myURL.href);
|
|||||||
```
|
```
|
||||||
|
|
||||||
Any invalid URL characters appearing in the value assigned the `search`
|
Any invalid URL characters appearing in the value assigned the `search`
|
||||||
property will be [percent-encoded][]. Note that the selection of which
|
property will be [percent-encoded][]. The selection of which
|
||||||
characters to percent-encode may vary somewhat from what the [`url.parse()`][]
|
characters to percent-encode may vary somewhat from what the [`url.parse()`][]
|
||||||
and [`url.format()`][] methods would produce.
|
and [`url.format()`][] methods would produce.
|
||||||
|
|
||||||
@ -490,7 +490,7 @@ console.log(myURL.href);
|
|||||||
```
|
```
|
||||||
|
|
||||||
Any invalid URL characters appearing in the value assigned the `username`
|
Any invalid URL characters appearing in the value assigned the `username`
|
||||||
property will be [percent-encoded][]. Note that the selection of which
|
property will be [percent-encoded][]. The selection of which
|
||||||
characters to percent-encode may vary somewhat from what the [`url.parse()`][]
|
characters to percent-encode may vary somewhat from what the [`url.parse()`][]
|
||||||
and [`url.format()`][] methods would produce.
|
and [`url.format()`][] methods would produce.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user