Skip to content

Commit dd023df

Browse files
committed
doc: add links to inline HTML table
Links in crypto.md table have been autolinking, but correct Markdown processing will not autolink in block elements like tables. Upcoming marked 0.4.0 will not autolink in this instance, so add the links as anchor elements. PR-URL: nodejs#21678 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0ef04b8 commit dd023df

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/api/crypto.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ The following constants exported by `crypto.constants` apply to various uses of
24092409
the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
24102410

24112411
### OpenSSL Options
2412-
2412+
<!--lint disable maximum-line-length-->
24132413
<table>
24142414
<tr>
24152415
<th>Constant</th>
@@ -2418,20 +2418,20 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
24182418
<tr>
24192419
<td><code>SSL_OP_ALL</code></td>
24202420
<td>Applies multiple bug workarounds within OpenSSL. See
2421-
https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for
2422-
detail.</td>
2421+
<a href="https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html">https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html</a>
2422+
for detail.</td>
24232423
</tr>
24242424
<tr>
24252425
<td><code>SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION</code></td>
24262426
<td>Allows legacy insecure renegotiation between OpenSSL and unpatched
24272427
clients or servers. See
2428-
https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html.</td>
2428+
<a href="https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html">https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html</a>.</td>
24292429
</tr>
24302430
<tr>
24312431
<td><code>SSL_OP_CIPHER_SERVER_PREFERENCE</code></td>
24322432
<td>Attempts to use the server's preferences instead of the client's when
24332433
selecting a cipher. Behavior depends on protocol version. See
2434-
https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html.</td>
2434+
<a href="https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html">https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html</a>.</td>
24352435
</tr>
24362436
<tr>
24372437
<td><code>SSL_OP_CISCO_ANYCONNECT</code></td>
@@ -2565,6 +2565,7 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
25652565
</table>
25662566

25672567
### OpenSSL Engine Constants
2568+
<!--lint enable maximum-line-length remark-lint-->
25682569

25692570
<table>
25702571
<tr>

0 commit comments

Comments
 (0)