Skip to content

Commit fae05b3

Browse files
committed
Fix \t and \r in dump file
1 parent 3967c33 commit fae05b3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/errorlogger.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,12 @@ std::string ErrorLogger::toxml(const std::string &str)
779779
case '\n':
780780
xml += "
";
781781
break;
782+
case '\t':
783+
xml += "	";
784+
break;
785+
case '\r':
786+
xml += "
";
787+
break;
782788
default:
783789
if (c >= ' ' && c <= 0x7f)
784790
xml += c;

0 commit comments

Comments
 (0)