diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-08-12 20:55:03 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-08-12 20:55:03 +0200 |
commit | aa2242090433be62d3f88ec6b402d1554606c0f2 (patch) | |
tree | a3f2b746596670c2874334ff10e20b18120bbceb | |
parent | 69c427aaa24340ce1c5e2f862c1c6e904aa0317f (diff) |
Disable slash escaping when reformating json
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | application/service/renderer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/service/renderer.php b/application/service/renderer.php index 2a28f4e48..6baf62c78 100644 --- a/application/service/renderer.php +++ b/application/service/renderer.php @@ -167,7 +167,7 @@ class renderer { return $content; } - $pretty_json = json_encode($decoded_json, JSON_PRETTY_PRINT); + $pretty_json = json_encode($decoded_json, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); if ($pretty_json === false) { return $content; } |