lib/xmltree/xmlinterface.cpp: ignore characters less than 0x20 when saving to xml

This commit is contained in:
[CST] Focus
2012-03-16 20:35:41 +04:00
parent d1a105ffc0
commit 628d3a1855

View File

@@ -114,7 +114,8 @@ std::string convert_UTF8_To_UTF8_XML(const char* s)
r += "'";
break;
default:
r += *s;
if ((unsigned char)*s >= 32)
r += *s;
}
s++;
}