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 <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
aduh95 authored and targos committed May 1, 2021
1 parent 46ece20 commit 939f554
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 939f554

Please sign in to comment.