Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a0dafc4

Browse files
committedMar 22, 2021
test: fix deprecation warning in test-doctool-html
1 parent 5318e53 commit a0dafc4

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)