fix build

This commit is contained in:
Elena.Subbotina
2022-05-17 10:24:02 +03:00
parent 4c3f3ea607
commit dad67014be
2 changed files with 3 additions and 1 deletions

View File

@ -1966,7 +1966,8 @@ HRESULT CFb2File::FromHtml(const std::wstring& sHtmlFile, const std::wstring& sC
NSFile::CFileBinary::ReadAllTextUtf8A(sHtmlFile, sContent);;
XmlUtils::CXmlLiteReader oIndexHtml;
std::vector<std::wstring> arrBinary;
if (oIndexHtml.FromString(htmlToXhtml(sContent)))
std::wstring xhtml = htmlToXhtml(sContent, false); // ????
if (oIndexHtml.FromString(xhtml))
{
oIndexHtml.ReadNextNode(); // html
int nDepth = oIndexHtml.GetDepth();