JsonParser: Merge the parsing of '\n' and '\r' in quoted strings

This commit is contained in:
Andreas Kling 2019-08-01 10:45:37 +02:00
parent 385e9268f4
commit 2923d39106
Notes: sideshowbarker 2024-07-19 12:58:04 +09:00

View file

@ -67,8 +67,6 @@ String JsonParser::consume_quoted_string()
char escaped_ch = consume();
switch (escaped_ch) {
case 'n':
builder.append('\n');
break;
case 'r':
builder.append('\n');
break;