qjson: Handle "\f"
It's valid JSON and should be handled. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
1041ba7a14
commit
bd0326950f
@ -206,6 +206,10 @@ static QString *qstring_from_escaped_str(JSONParserContext *ctxt, QObject *token
|
||||
qstring_append(str, "\b");
|
||||
ptr++;
|
||||
break;
|
||||
case 'f':
|
||||
qstring_append(str, "\f");
|
||||
ptr++;
|
||||
break;
|
||||
case 'n':
|
||||
qstring_append(str, "\n");
|
||||
ptr++;
|
||||
|
Loading…
Reference in New Issue
Block a user