Fixed Unicode characters not being displayed on some systems

This commit is contained in:
aymm 2021-05-10 18:55:21 +02:00
parent 87c401e3a8
commit 314e358ddc
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -129,7 +129,7 @@ function get_source_set($user, int $base_size, int $max_scale = 3): string
function make_banner(string $type, string $content, string $custom_symbol = null): string
{
if (empty($custom_symbol)) {
$custom_symbol = $type === 'success' ? '✓' : '𐄂';
$custom_symbol = $type === 'success' ? 'ઙ' : '×';
}
return '<div class="banner-wrapper">'