Commit 057d8182 authored by GoshaZotov's avatar GoshaZotov

fix error(paste math from html)

parent 78ac69c6
......@@ -6228,6 +6228,13 @@ PasteProcessor.prototype =
}
}
}
//TODO временная правка. пересмотреть обработку тега math
if(!child.style && Node.TEXT_NODE !== child.nodeType)
{
child.style = {};
}
bAddParagraph = this._Execute(child, Common_CopyObj(pPr), false, bAddParagraph, bIsBlockChild || bInBlock);
if(bIsBlockChild)
bAddParagraph = true;
......
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