Commit bef0586f authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51600 954022d7-b5bf-4e40-9824-e11837661b57
parent 8758622d
......@@ -3391,7 +3391,7 @@ function CBinaryFileWriter()
__name = __name.replace(/>/g, "_");
__name = __name.replace(/</g, "_");
__name = __name.replace(/"/g, "_");
__name = __name.replace(/'/, "_");
__name = __name.replace(/'/g, "_");
oThis._WriteString2(1, __name);
oThis.WriteUChar(g_nodeAttributeEnd);
......
......@@ -3053,7 +3053,7 @@ function CEditorPage(api)
this.m_oMainView.HtmlElement.appendChild(_p);
var _t = this.TextBoxInput.value;
_t = _t.replace(/ /, "&nbsp;");
_t = _t.replace(/ /g, "&nbsp;");
_p.innerHTML = "<span>" + _t + "</span>";
var _width = _p.firstChild.offsetWidth;
_width = Math.min(_width + 10, this.TextBoxMaxWidth);
......
......@@ -3668,7 +3668,7 @@ function CEditorPage(api)
this.m_oMainView.HtmlElement.appendChild(_p);
var _t = this.TextBoxInput.value;
_t = _t.replace(/ /, "&nbsp;");
_t = _t.replace(/ /g, "&nbsp;");
_p.innerHTML = "<span>" + _t + "</span>";
var _width = _p.firstChild.offsetWidth;
_width = Math.min(_width + 10, this.TextBoxMaxWidth);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment