diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/admin_export.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/admin_export.cc b/server/src/admin_export.cc index 3ec77d1..e125699 100644 --- a/server/src/admin_export.cc +++ b/server/src/admin_export.cc @@ -47,8 +47,10 @@ static std::string escape(std::string &str) std::string::iterator i = str.begin(); while(i != str.end()) { if(*i == '\"') out += "''"; + else if(*i == '\n') out += "\342\220\244"; // N/L controlcharacter pictogram + else if(*i == '\r') { } else out += *i; - i++; + i++; } out += "\""; return out; |