Skip to content

Commit 86bf341

Browse files
aduh95ruyadorno
authored andcommitted
test: fix deprecation warning in test-doctool-html
PR-URL: #37858 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 7925938 commit 86bf341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/doctool/test-doctool-html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function toHTML({ input, filename, nodeVersion, versions }) {
4444
.use(html.preprocessText, { nodeVersion })
4545
.use(html.preprocessElements, { filename })
4646
.use(html.buildToc, { filename, apilinks: {} })
47-
.use(remark2rehype, { allowDangerousHTML: true })
47+
.use(remark2rehype, { allowDangerousHtml: true })
4848
.use(raw)
4949
.use(htmlStringify)
5050
.processSync(input);

0 commit comments

Comments
 (0)