Skip to content

Commit cdc1198

Browse files
Trottrichardlau
authored andcommitted
doc: fix certificate display in tls doc
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]>
1 parent 72d03cd commit cdc1198

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/tls.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,8 @@ For EC keys, the following properties may be defined:
10771077

10781078
Example certificate:
10791079

1080-
```text
1080+
<!-- eslint-skip -->
1081+
```js
10811082
{ subject:
10821083
{ OU: [ 'Domain Control Validated', 'PositiveSSL Wildcard' ],
10831084
CN: '*.nodejs.org' },

0 commit comments

Comments
 (0)