Commit 85de7ec7 authored by Oleg Korshul's avatar Oleg Korshul

xhtml bug

parent 007a984c
...@@ -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