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 richardlau committed Sep 7, 2020
1 parent 72d03cd commit cdc1198
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 @@ -1077,7 +1077,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 cdc1198

Please sign in to comment.