@quintype/components 3.1.0-url-decode.2 → 3.1.0-url-decode.4
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/cjs/index.js
CHANGED
|
@@ -2572,10 +2572,10 @@ var JSEmbed = /*#__PURE__*/function (_React$Component) {
|
|
|
2572
2572
|
if (!embedJs) return null;
|
|
2573
2573
|
|
|
2574
2574
|
if (global) {
|
|
2575
|
-
return global.atob(embedJs);
|
|
2575
|
+
return decodeURIComponent(escape(global.atob(embedJs)));
|
|
2576
2576
|
}
|
|
2577
2577
|
|
|
2578
|
-
return Buffer.from(embedJs, 'base64').toString('utf-8');
|
|
2578
|
+
return decodeURIComponent(escape(Buffer.from(embedJs, 'base64').toString('utf-8')));
|
|
2579
2579
|
}
|
|
2580
2580
|
}, {
|
|
2581
2581
|
key: "render",
|
|
@@ -73,10 +73,10 @@ var JSEmbed = /*#__PURE__*/function (_React$Component) {
|
|
|
73
73
|
if (!embedJs) return null;
|
|
74
74
|
|
|
75
75
|
if (global) {
|
|
76
|
-
return global.atob(embedJs);
|
|
76
|
+
return decodeURIComponent(escape(global.atob(embedJs)));
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
return Buffer.from(embedJs, 'base64').toString('utf-8');
|
|
79
|
+
return decodeURIComponent(escape(Buffer.from(embedJs, 'base64').toString('utf-8')));
|
|
80
80
|
}
|
|
81
81
|
}, {
|
|
82
82
|
key: "render",
|