Skip to content

Commit

Permalink
test: fix deprecation warning in test-doctool-html
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
aduh95 authored and ruyadorno committed Mar 24, 2021
1 parent 7925938 commit 86bf341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/doctool/test-doctool-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function toHTML({ input, filename, nodeVersion, versions }) {
.use(html.preprocessText, { nodeVersion })
.use(html.preprocessElements, { filename })
.use(html.buildToc, { filename, apilinks: {} })
.use(remark2rehype, { allowDangerousHTML: true })
.use(remark2rehype, { allowDangerousHtml: true })
.use(raw)
.use(htmlStringify)
.processSync(input);
Expand Down

0 comments on commit 86bf341

Please sign in to comment.