mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17454] Fix displaying emojis in sitename within webpush header
PHPBB-17454
This commit is contained in:
parent
1096b094cb
commit
7bf31e8165
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class webpush
|
|||
$this->user_loader->load_users($notification->users_to_query());
|
||||
|
||||
return json_encode([
|
||||
'heading' => $this->config['sitename'],
|
||||
'heading' => html_entity_decode($this->config['sitename'], ENT_QUOTES, 'UTF-8'),
|
||||
'title' => strip_tags(html_entity_decode($notification->get_title(), ENT_NOQUOTES, 'UTF-8')),
|
||||
'text' => strip_tags(html_entity_decode($notification->get_reference(), ENT_NOQUOTES, 'UTF-8')),
|
||||
'url' => htmlspecialchars_decode($notification->get_url()),
|
||||
|
|
Loading…
Add table
Reference in a new issue