Commit 48d4b72d authored by Oleg Korshul's avatar Oleg Korshul Committed by GitHub

Merge pull request #39 from ONLYOFFICE/release/v5.0.0

xhtml bug
parents 9e6d4950 85de7ec7
...@@ -252,7 +252,7 @@ int CHtmlFile::Convert(const std::vector<std::wstring>& arFiles, const std::wstr ...@@ -252,7 +252,7 @@ int CHtmlFile::Convert(const std::vector<std::wstring>& arFiles, const std::wstr
std::wstring sExt = NSCommon::GetFileExtention(sFilePath); std::wstring sExt = NSCommon::GetFileExtention(sFilePath);
NSCommon::makeUpperW(sExt); NSCommon::makeUpperW(sExt);
if (sExt == L"HTML" || sExt == L"HTM") if (sExt == L"HTML" || sExt == L"HTM" || sExt == L"XHTML")
oBuilder.WriteEncodeXmlString(CorrectHtmlPath(sFilePath)); oBuilder.WriteEncodeXmlString(CorrectHtmlPath(sFilePath));
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment