X Tutup
The Wayback Machine - https://web.archive.org/web/20211203030813/https://github.com/nodejs/node/commit/939f5541fa
Skip to content
Permalink
Browse files
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>
  • Loading branch information
aduh95 authored and targos committed May 1, 2021
1 parent 46ece20 commit 939f5541fa9dd5212543508770bd0a00f46d84a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/doctool/test-doctool-html.js
@@ -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);

0 comments on commit 939f554

Please sign in to comment.
X Tutup