aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/stats/index.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml
index 4af197c5b..661485f75 100644
--- a/app/views/stats/index.phtml
+++ b/app/views/stats/index.phtml
@@ -83,11 +83,11 @@
</div>
<script id="jsonStats" type="application/json"><?php
-echo htmlspecialchars(json_encode(array(
+echo json_encode(array(
'average' => $this->average,
'dataCount' => $this->count,
'feedByCategory' => $this->feedByCategory,
'entryByCategory' => $this->entryByCategory,
-), JSON_UNESCAPED_UNICODE), ENT_NOQUOTES, 'UTF-8');
+), JSON_UNESCAPED_UNICODE);
?></script>
<script src="../scripts/stats.js?<?= @filemtime(PUBLIC_PATH . '/scripts/stats.js') ?>"></script>