From 939f5541fa9dd5212543508770bd0a00f46d84a7 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 22 Mar 2021 11:11:30 +0100 Subject: [PATCH] test: fix deprecation warning in test-doctool-html PR-URL: https://github.com/nodejs/node/pull/37858 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Rich Trott --- test/doctool/test-doctool-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js index 97d4f36d9e5bda..97c37dece88534 100644 --- a/test/doctool/test-doctool-html.js +++ b/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);