mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
JsonParser: Merge the parsing of '\n' and '\r' in quoted strings
This commit is contained in:
parent
385e9268f4
commit
2923d39106
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue