@visactor/vchart 2.1.5-alpha.2 → 2.1.5-alpha.3

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/build/index.es.js CHANGED
@@ -66085,7 +66085,7 @@ class DomTooltipHandler extends BaseTooltipHandler {
66085
66085
  }
66086
66086
  if (titleDom && title.visible !== false) {
66087
66087
  setStyleToDom(titleDom, Object.assign(Object.assign(Object.assign({}, this._domStyle.title), (hasContent ? rowStyle : { marginBottom: '0px' })), { marginTop: '0px' }));
66088
- titleDom.firstChild.innerHTML = `${(_a = title.value) !== null && _a !== void 0 ? _a : ''}`;
66088
+ titleDom.firstChild.textContent = `${(_a = title.value) !== null && _a !== void 0 ? _a : ''}`;
66089
66089
  }
66090
66090
  else if (titleDom && title.visible === false) {
66091
66091
  titleDom.parentNode.removeChild(titleDom);
package/build/index.js CHANGED
@@ -113786,7 +113786,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
113786
113786
  }
113787
113787
  if (titleDom && title.visible !== false) {
113788
113788
  setStyleToDom(titleDom, Object.assign(Object.assign(Object.assign({}, this._domStyle.title), (hasContent ? rowStyle : { marginBottom: '0px' })), { marginTop: '0px' }));
113789
- titleDom.firstChild.innerHTML = `${(_a = title.value) !== null && _a !== void 0 ? _a : ''}`;
113789
+ titleDom.firstChild.textContent = `${(_a = title.value) !== null && _a !== void 0 ? _a : ''}`;
113790
113790
  }
113791
113791
  else if (titleDom && title.visible === false) {
113792
113792
  titleDom.parentNode.removeChild(titleDom);