diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-26 19:02:27 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-09-06 08:53:57 +0200 |
commit | ca2dd8cbb0a8fbc688b7c4a27740530e819e36c9 (patch) | |
tree | e256437b2fe560932b59ce5675adbcff87f0c1c3 /doc/api/querystring.md | |
parent | 12f5480d5545911fd924bafa54277b81fdc50f81 (diff) | |
download | node-new-ca2dd8cbb0a8fbc688b7c4a27740530e819e36c9.tar.gz |
doc: remove redundant 'Example:' and similar notes
Some nits were also fixed in passing.
PR-URL: https://github.com/nodejs/node/pull/22537
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/querystring.md')
-rw-r--r-- | doc/api/querystring.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 2fac9bce43..60230d916b 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -76,8 +76,7 @@ are not defined and *will not work*. By default, percent-encoded characters within the query string will be assumed to use UTF-8 encoding. If an alternative character encoding is used, then an -alternative `decodeURIComponent` option will need to be specified as illustrated -in the following example: +alternative `decodeURIComponent` option will need to be specified: ```js // Assuming gbkDecodeURIComponent function already exists... @@ -118,8 +117,7 @@ querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':'); By default, characters requiring percent-encoding within the query string will be encoded as UTF-8. If an alternative encoding is required, then an alternative -`encodeURIComponent` option will need to be specified as illustrated in the -following example: +`encodeURIComponent` option will need to be specified: ```js // Assuming gbkEncodeURIComponent function already exists, |