We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c078c commit 095b6a2Copy full SHA for 095b6a2
index.js
@@ -36,7 +36,7 @@ function HTMLReactParser(html, options) {
36
HTMLReactParser.domToReact = domToReact;
37
HTMLReactParser.htmlToDOM = htmlToDOM;
38
HTMLReactParser.attributesToProps = attributesToProps;
39
-HTMLReactParser.Element = require('domhandler/lib/node').Element;
+HTMLReactParser.Element = require('domhandler').Element;
40
41
// support CommonJS and ES Modules
42
module.exports = HTMLReactParser;
0 commit comments