@syncfusion/ej2-base 23.1.42 → 23.1.43
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.
|
@@ -2444,7 +2444,7 @@ class Observer {
|
|
|
2444
2444
|
let eventsArr = this.boundedEvents['notifyExternalChange'];
|
|
2445
2445
|
if (eventsArr) {
|
|
2446
2446
|
for (let i = 0; i < eventsArr.length; i++) {
|
|
2447
|
-
let curContext = eventsArr[
|
|
2447
|
+
let curContext = eventsArr[`${i}`].context;
|
|
2448
2448
|
if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) {
|
|
2449
2449
|
this.off('notifyExternalChange', curContext.detectFunction, curContext.randomId);
|
|
2450
2450
|
i--;
|
|
@@ -9886,6 +9886,7 @@ class SanitizeHtmlHelper {
|
|
|
9886
9886
|
this.removeXssAttrs();
|
|
9887
9887
|
const tempEleValue = this.wrapElement.innerHTML;
|
|
9888
9888
|
this.removeElement();
|
|
9889
|
+
this.wrapElement = null;
|
|
9889
9890
|
return tempEleValue.replace(/&/g, '&');
|
|
9890
9891
|
}
|
|
9891
9892
|
static removeElement() {
|
package/dist/es6/ej2-base.es5.js
CHANGED
|
@@ -2481,7 +2481,7 @@ var Observer = /** @__PURE__ @class */ (function () {
|
|
|
2481
2481
|
var eventsArr = this.boundedEvents['notifyExternalChange'];
|
|
2482
2482
|
if (eventsArr) {
|
|
2483
2483
|
for (var i = 0; i < eventsArr.length; i++) {
|
|
2484
|
-
var curContext = eventsArr[
|
|
2484
|
+
var curContext = eventsArr["" + i].context;
|
|
2485
2485
|
if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) {
|
|
2486
2486
|
this.off('notifyExternalChange', curContext.detectFunction, curContext.randomId);
|
|
2487
2487
|
i--;
|
|
@@ -10013,6 +10013,7 @@ var SanitizeHtmlHelper = /** @__PURE__ @class */ (function () {
|
|
|
10013
10013
|
this.removeXssAttrs();
|
|
10014
10014
|
var tempEleValue = this.wrapElement.innerHTML;
|
|
10015
10015
|
this.removeElement();
|
|
10016
|
+
this.wrapElement = null;
|
|
10016
10017
|
return tempEleValue.replace(/&/g, '&');
|
|
10017
10018
|
};
|
|
10018
10019
|
SanitizeHtmlHelper.removeElement = function () {
|
package/package.json
CHANGED
package/src/observer.js
CHANGED
|
@@ -173,7 +173,7 @@ var Observer = /** @class */ (function () {
|
|
|
173
173
|
var eventsArr = this.boundedEvents['notifyExternalChange'];
|
|
174
174
|
if (eventsArr) {
|
|
175
175
|
for (var i = 0; i < eventsArr.length; i++) {
|
|
176
|
-
var curContext = eventsArr[
|
|
176
|
+
var curContext = eventsArr["" + i].context;
|
|
177
177
|
if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) {
|
|
178
178
|
this.off('notifyExternalChange', curContext.detectFunction, curContext.randomId);
|
|
179
179
|
i--;
|
package/src/sanitize-helper.js
CHANGED
|
@@ -134,6 +134,7 @@ var SanitizeHtmlHelper = /** @class */ (function () {
|
|
|
134
134
|
this.removeXssAttrs();
|
|
135
135
|
var tempEleValue = this.wrapElement.innerHTML;
|
|
136
136
|
this.removeElement();
|
|
137
|
+
this.wrapElement = null;
|
|
137
138
|
return tempEleValue.replace(/&/g, '&');
|
|
138
139
|
};
|
|
139
140
|
SanitizeHtmlHelper.removeElement = function () {
|