Commit ae7d0baa authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

bug #31499 - После копирования данных из Google Sheets вместе с данными вставляются теги стилей

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67953 954022d7-b5bf-4e40-9824-e11837661b57
parent b2beeaaf
......@@ -6556,7 +6556,8 @@ PasteProcessor.prototype =
}
}
if(!(Node.ELEMENT_NODE == nodeType || Node.TEXT_NODE == nodeType))
var sChildNodeName = child.nodeName.toLowerCase();
if(!(Node.ELEMENT_NODE == nodeType || Node.TEXT_NODE == nodeType) || sChildNodeName === "style" || sChildNodeName === "#comment" || sChildNodeName === "script")
continue;
//�������� ������� ��������� ������ �� \t,\n,\r
if( Node.TEXT_NODE == child.nodeType)
......@@ -6568,7 +6569,6 @@ PasteProcessor.prototype =
if("" == value)
continue;
}
var sChildNodeName = child.nodeName.toLowerCase();
var bIsBlockChild = this._IsBlockElem(sChildNodeName);
if(bRoot)
this.bInBlock = false;
......
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