Skip to content

Commit cb153f9

Browse files
authored
Fix \t and \r in dump file (#7766)
1 parent 7a05f00 commit cb153f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/errorlogger.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,12 @@ std::string ErrorLogger::toxml(const std::string &str)
793793
case '\n':
794794
xml += "
";
795795
break;
796+
case '\t':
797+
xml += "	";
798+
break;
799+
case '\r':
800+
xml += "
";
801+
break;
796802
default:
797803
if (c >= ' ' && c <= 0x7f)
798804
xml += c;

0 commit comments

Comments
 (0)