From aa2242090433be62d3f88ec6b402d1554606c0f2 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 12 Aug 2018 20:55:03 +0200 Subject: Disable slash escaping when reformating json Signed-off-by: Florian Pritz --- application/service/renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/service/renderer.php') 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; } -- cgit v1.2.3-24-g4f1b