mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
xhtml bug
This commit is contained in:
@ -252,7 +252,7 @@ int CHtmlFile::Convert(const std::vector<std::wstring>& arFiles, const std::wstr
|
||||
std::wstring sExt = NSCommon::GetFileExtention(sFilePath);
|
||||
NSCommon::makeUpperW(sExt);
|
||||
|
||||
if (sExt == L"HTML" || sExt == L"HTM")
|
||||
if (sExt == L"HTML" || sExt == L"HTM" || sExt == L"XHTML")
|
||||
oBuilder.WriteEncodeXmlString(CorrectHtmlPath(sFilePath));
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user