Commit 5e2b0512 authored by GoshaZotov's avatar GoshaZotov

if <ul> does not contain <li>, do not add a list

parent 8630fe5f
......@@ -6357,7 +6357,12 @@ PasteProcessor.prototype =
if("ul" == sNodeName || "ol" == sNodeName || "li" == sNodeName)
{
pPr.bNum = true;
//в данном случае если нет тега li, то списоком не считаем
if("li" == sNodeName)
{
pPr.bNum = true;
}
if(PasteElementsId.g_bIsDocumentCopyPaste)
{
if("ul" == sNodeName)
......
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