diff --git a/ucp/controller/webpush.php b/ucp/controller/webpush.php index 78f7d40..d94d36a 100644 --- a/ucp/controller/webpush.php +++ b/ucp/controller/webpush.php @@ -240,7 +240,7 @@ private function get_notification_data(string $notification_data): string $this->user_loader->load_users($notification->users_to_query()); return json_encode([ - 'heading' => $this->config['sitename'], + 'heading' => ext::decode_entities($this->config['sitename'], ENT_QUOTES), 'title' => strip_tags(ext::decode_entities($notification->get_title())), 'text' => strip_tags(ext::decode_entities($notification->get_reference())), 'url' => htmlspecialchars_decode($notification->get_url()),