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: nodejs#35032
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
Trott authored and joesepi committed Oct 22, 2020
1 parent cfe1bd0 commit 5bd04c0
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 @@ -1065,7 +1065,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 5bd04c0

Please sign in to comment.