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

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49323 954022d7-b5bf-4e40-9824-e11837661b57
parent cbc7a323
......@@ -2378,7 +2378,7 @@
Array.prototype.forEach.call(node, function processElement(elem) {
if (elem.nodeType === Node.TEXT_NODE || (elem.nodeName.toLowerCase() == 'br' && $(node).children('br').length != 0 && elem.parentNode.nodeName.toLowerCase() == 'span') || (elem.parentNode.getAttribute != undefined && elem.parentNode.getAttribute("class") != null && elem.parentNode.getAttribute("class") == "qPrefix") || (elem.getAttribute != undefined && elem.getAttribute("class") != null&& elem.getAttribute("class") == "qPrefix")) {
if(elem.textContent.replace(/(\r|\t|\n| )/g, '') != '' || elem.textContent == ' ')
if(elem.textContent.replace(/(\r|\t|\n| )/g, '') != '' || elem.textContent == ' ' || elem.nodeName.toLowerCase() == 'br')
{
var parent = elem.parentNode;
if(elem.getAttribute != undefined && elem.getAttribute("class") == "qPrefix")
......
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