add utf8.escape_xml and alias - string.escape_xml
This commit is contained in:
@@ -10,6 +10,9 @@ namespace util {
|
||||
/// @brief Function used for string serialization in text formats
|
||||
std::string escape(std::string_view s, bool escapeUnicode=true);
|
||||
|
||||
/// @brief Escape all special XML characters
|
||||
std::string escape_xml(std::string_view s);
|
||||
|
||||
/// @brief Function used for error messages
|
||||
std::string quote(const std::string& s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user