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 Trott committed Mar 23, 2021
1 parent 98ff5ac commit 0a77830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/doctool/test-doctool-html.js
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 0a77830

Please sign in to comment.