This commit is contained in:
Kirill Polyakov
2024-08-20 10:59:32 +03:00
parent 7018402a58
commit 75cc7d8457

View File

@ -3472,7 +3472,10 @@ private:
if (bCross && sFootnote == L"href") if (bCross && sFootnote == L"href")
sFootnote = sRef.substr(sRef.find('#') + 1); sFootnote = sRef.substr(sRef.find('#') + 1);
wrP(oXml, sSelectors, oTS); if (!OpenP(oXml))
CloseR(oXml);
else
wrP(oXml, sSelectors, oTS);
// Перекрестная ссылка внутри файла // Перекрестная ссылка внутри файла
if(bCross) if(bCross)
@ -3553,7 +3556,7 @@ private:
} }
} }
CloseP(oXml, sSelectors); // CloseP(oXml, sSelectors);
} }
sNote.clear(); sNote.clear();