1
0
mirror of https://github.com/ONLYOFFICE/core.git synced 2025-04-18 14:04:06 +03:00
This commit is contained in:
Green 2025-01-18 17:56:34 +03:00 committed by Oleg Korshul
parent 34627ff1c5
commit 3af549a158

View File

@ -80,7 +80,7 @@ HRESULT CEpubFile::Convert(const std::wstring& sInputFile, const std::wstring& s
if (nContent != std::wstring::npos)
{
nContent += 11;
sContent = sFileContent.substr(nContent, sFileContent.find(L'\"', nContent) - nContent);
sContent = sFileContent.substr(nContent, sFileContent.find_first_of(L"\"'", nContent) - nContent);
}
std::wstring sContentPath;