A free, self-hostable news aggregator…
Fix double HTML-encoding in category names (#2897)
Alexandre Alapetite82278af7a9e8
diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtmlindex 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>