mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
JsonParser: Merge the parsing of '\n' and '\r' in quoted strings
This commit is contained in:
parent
385e9268f4
commit
2923d39106
Notes:
sideshowbarker
2024-07-19 12:58:04 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2923d391066
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…
Reference in a new issue