html-react-parser 1.4.7 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2435,6 +2435,11 @@
|
|
|
2435
2435
|
var attributesToProps = attributesToProps$2;
|
|
2436
2436
|
var htmlToDOM = htmlToDom;
|
|
2437
2437
|
|
|
2438
|
+
// support backwards compatibility for ES Module
|
|
2439
|
+
htmlToDOM =
|
|
2440
|
+
/* istanbul ignore next */
|
|
2441
|
+
typeof htmlToDOM.default === 'function' ? htmlToDOM.default : htmlToDOM;
|
|
2442
|
+
|
|
2438
2443
|
var domParserOptions = { lowerCaseAttributeNames: false };
|
|
2439
2444
|
|
|
2440
2445
|
/**
|