Skip to content

Commit 86bf341

Browse files
aduh95ruyadorno
authored andcommittedMar 24, 2021
test: fix deprecation warning in test-doctool-html
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>
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)
Please sign in to comment.