mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
lib/xmltree/xmlinterface.cpp: ignore characters less than 0x20 when saving to xml
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user