diff --git a/src/base/single/text.js b/src/base/single/text.js index 415cafeda5..7747f48eef 100644 --- a/src/base/single/text.js +++ b/src/base/single/text.js @@ -134,9 +134,9 @@ BI.Text = BI.inherit(BI.Single, { return; } if (/&|\"|<|>|\\s/.test(text)) { - this.text.element[0].textContent = BI.htmlEncode(this._getShowText()); + this.text.element[0].innerHTML = BI.htmlEncode(this._getShowText()); } else { - this.text.element[0].textContent = this._getShowText(); + this.text.element[0].innerHTML = this._getShowText(); } } });