Skip to content

Commit

Permalink
doc: fix certificate display in tls doc
Browse files Browse the repository at this point in the history
In one context, `<Buffer>` was being interpretted as an HTML tag and not
displayed.

PR-URL: #35032
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
Trott authored and addaleax committed Sep 22, 2020
1 parent 2ae95d3 commit 27d5f0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,8 @@ For EC keys, the following properties may be defined:

Example certificate:

```text
<!-- eslint-skip -->
```js
{ subject:
{ OU: [ 'Domain Control Validated', 'PositiveSSL Wildcard' ],
CN: '*.nodejs.org' },
Expand Down

0 comments on commit 27d5f0e

Please sign in to comment.