From 51e3b5243da0b128e6787190cc8092f870a4ebc1 Mon Sep 17 00:00:00 2001 From: knoldus Date: Thu, 27 Jan 2022 20:30:40 +0530 Subject: [PATCH] Escaped slashes --- src/Translation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Translation.php b/src/Translation.php index 584fa11..1691135 100755 --- a/src/Translation.php +++ b/src/Translation.php @@ -76,7 +76,7 @@ public function scan($mergeKeys = false): int ); } - file_put_contents($this->baseFilename, json_encode($keys->sortKeys(), JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT)); + file_put_contents($this->baseFilename, json_encode($keys->sortKeys(), JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); return $keys->count(); }