Skip to content

Commit c6ebaa3

Browse files
committed
ZImprove Emoji and white space removal
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent d55313e commit c6ebaa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/manifest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function handle(): JsonResponse
6565

6666
$manifest = [
6767
'name' => $this->config['sitename'],
68-
'short_name' => $this->config['pwa_short_name'] ?: utf8_substr(preg_replace('/[^\x20-\x7E]/', '', $this->config['sitename']), 0, 12),
68+
'short_name' => $this->config['pwa_short_name'] ?: utf8_substr(preg_replace('/[^\x21-\x7E]/', '', html_entity_decode($this->config['sitename'], ENT_QUOTES, 'UTF-8')), 0, 12),
6969
'display' => 'standalone',
7070
'orientation' => 'portrait',
7171
'dir' => $this->language->lang('DIRECTION'),

0 commit comments

Comments
 (0)