aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers')
-rw-r--r--app/Controllers/indexController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index d914e4eef..3961a3fcd 100644
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -106,7 +106,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController {
$title = FreshRSS_Context::$name;
$search = FreshRSS_Context::$search->__toString();
if ($search !== '') {
- $title = '“' . $search . '”';
+ $title = '“' . htmlspecialchars($search, ENT_COMPAT, 'UTF-8') . '”';
}
if (FreshRSS_Context::$get_unread > 0) {
$title = '(' . FreshRSS_Context::$get_unread . ') ' . $title;