summaryrefslogtreecommitdiffstats
path: root/application/service/renderer.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-08-12 20:55:03 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-08-12 20:55:03 +0200
commitaa2242090433be62d3f88ec6b402d1554606c0f2 (patch)
treea3f2b746596670c2874334ff10e20b18120bbceb /application/service/renderer.php
parent69c427aaa24340ce1c5e2f862c1c6e904aa0317f (diff)
Disable slash escaping when reformating json
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/service/renderer.php')
-rw-r--r--application/service/renderer.php2
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;
}