diff options
author | Nick Schonning <nschonni@gmail.com> | 2019-10-10 01:49:08 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-11 08:15:58 +0300 |
commit | 81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch) | |
tree | 151d163358f029f8f686b595db2c565ddcff1070 /doc/api/string_decoder.md | |
parent | a1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff) |
doc: escape brackets not used as markdown reference links
These can turn into links if reference links are added to the document
PR-URL: https://github.com/nodejs/node/pull/29809
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/string_decoder.md')
-rw-r--r-- | doc/api/string_decoder.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/string_decoder.md b/doc/api/string_decoder.md index c2e5434ac72..525128bfa27 100644 --- a/doc/api/string_decoder.md +++ b/doc/api/string_decoder.md @@ -44,7 +44,7 @@ console.log(decoder.end(Buffer.from([0xAC]))); ## Class: StringDecoder -### new StringDecoder([encoding]) +### new StringDecoder(\[encoding\]) <!-- YAML added: v0.1.99 --> @@ -54,7 +54,7 @@ added: v0.1.99 Creates a new `StringDecoder` instance. -### stringDecoder.end([buffer]) +### stringDecoder.end(\[buffer\]) <!-- YAML added: v0.9.3 --> |