mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +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 += "'";
|
r += "'";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
r += *s;
|
if ((unsigned char)*s >= 32)
|
||||||
|
r += *s;
|
||||||
}
|
}
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user