t2
This commit is contained in:
@@ -281,7 +281,7 @@ class ClashMeta extends AbstractProtocol
|
|||||||
return (string) $value;
|
return (string) $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "'" . str_replace("'", "''", (string) $value) . "'";
|
return json_encode((string) $value, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function isAssocArray(array $value): bool
|
private static function isAssocArray(array $value): bool
|
||||||
|
|||||||
Reference in New Issue
Block a user