diff --git a/HtmlFile/HtmlFile.cpp b/HtmlFile/HtmlFile.cpp index bbedbafecc..58b6ad11a9 100644 --- a/HtmlFile/HtmlFile.cpp +++ b/HtmlFile/HtmlFile.cpp @@ -252,7 +252,7 @@ int CHtmlFile::Convert(const std::vector& 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 {