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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
Trott authored and addaleax committed Sep 22, 2020
1 parent d7989bd commit 3c98411
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 3c98411

Please sign in to comment.