Skip to content

Commit 0f9be5e

Browse files
committed
Fix newline in comments rawtokens
1 parent 4617bc2 commit 0f9be5e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/errorlogger.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,9 @@ std::string ErrorLogger::toxml(const std::string &str)
776776
case '\0':
777777
xml += "\\0";
778778
break;
779+
case '\n':
780+
xml += "
";
781+
break;
779782
default:
780783
if (c >= ' ' && c <= 0x7f)
781784
xml += c;

0 commit comments

Comments
 (0)