acsi-core 0.9.12 → 0.9.13
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.
package/dist/index.js
CHANGED
|
@@ -3336,8 +3336,9 @@ var sanitizeSrc = function sanitizeSrc(url) {
|
|
|
3336
3336
|
};
|
|
3337
3337
|
|
|
3338
3338
|
var sanitizeHTMLText = function sanitizeHTMLText(text) {
|
|
3339
|
+
var _DOMPurify$sanitize;
|
|
3339
3340
|
if (!text) return "";
|
|
3340
|
-
return DOMPurify.sanitize(text);
|
|
3341
|
+
return (_DOMPurify$sanitize = DOMPurify.sanitize(text)) != null ? _DOMPurify$sanitize : "";
|
|
3341
3342
|
};
|
|
3342
3343
|
|
|
3343
3344
|
var historyCore = history.createBrowserHistory();
|