aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-01-02 01:39:17 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-01-02 01:58:15 +0200
commit11a1bc11364ea88091b73cec5d5f69bdccb03ac1 (patch)
tree04f411bdb1275e5f8254c42a51250ae9b273a172
parent47ee340a9eb0cd7c73e9f2db8896440881d9caf1 (diff)
downloadandroid-node-v8-11a1bc11364ea88091b73cec5d5f69bdccb03ac1.tar.gz
android-node-v8-11a1bc11364ea88091b73cec5d5f69bdccb03ac1.tar.bz2
android-node-v8-11a1bc11364ea88091b73cec5d5f69bdccb03ac1.zip
doc: replace wrong U+00A0 by common spaces
PR-URL: https://github.com/nodejs/node/pull/17940 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jon Moss <me@jonathanmoss.me>
-rw-r--r--doc/api/dgram.md2
-rw-r--r--doc/api/http2.md2
-rw-r--r--doc/api/tls.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md
index 67c666dbe0..0aa6a67668 100644
--- a/doc/api/dgram.md
+++ b/doc/api/dgram.md
@@ -295,7 +295,7 @@ If `msg` is a `String`, then it is automatically converted to a `Buffer`
with `'utf8'` encoding. With messages that
contain multi-byte characters, `offset` and `length` will be calculated with
respect to [byte length][] and not the character position.
-If `msg` is an array, `offset` and `length` must not be specified.
+If `msg` is an array, `offset` and `length` must not be specified.
The `address` argument is a string. If the value of `address` is a host name,
DNS will be used to resolve the address of the host. If `address` is not
diff --git a/doc/api/http2.md b/doc/api/http2.md
index a2328feea0..5131f22d54 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -2044,7 +2044,7 @@ the status message for HTTP codes is ignored.
### ALPN negotiation
ALPN negotiation allows to support both [HTTPS][] and HTTP/2 over
-the same socket. The `req` and `res` objects can be either HTTP/1 or
+the same socket. The `req` and `res` objects can be either HTTP/1 or
HTTP/2, and an application **must** restrict itself to the public API of
[HTTP/1][], and detect if it is possible to use the more advanced
features of HTTP/2.
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 50535150c2..fc9f06ef14 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -846,7 +846,7 @@ changes:
* `servername`: {string} Server name for the SNI (Server Name Indication) TLS
extension.
* `checkServerIdentity(servername, cert)` {Function} A callback function
-    to be used (instead of the builtin `tls.checkServerIdentity()` function)
+ to be used (instead of the builtin `tls.checkServerIdentity()` function)
when checking the server's hostname (or the provided `servername` when
explicitly set) against the certificate. This should return an {Error} if
verification fails. The method should return `undefined` if the `servername`