fix (client): Unicode emoji rendering
This commit is contained in:
parent
26c3b25a40
commit
65e7d9d157
1 changed files with 2 additions and 3 deletions
|
@ -12,8 +12,8 @@
|
|||
v-else-if="char && !useOsNativeEmojis"
|
||||
class="mk-emoji"
|
||||
:src="url"
|
||||
:alt="alt || undefined"
|
||||
:title="alt || undefined"
|
||||
:alt="alt!"
|
||||
:title="alt!"
|
||||
decoding="async"
|
||||
/>
|
||||
<span v-else-if="char && useOsNativeEmojis">{{ char }}</span>
|
||||
|
@ -50,7 +50,6 @@ const customEmoji = computed(() =>
|
|||
: null,
|
||||
);
|
||||
const url = computed(() => {
|
||||
if (!customEmoji.value) return undefined;
|
||||
if (char.value) {
|
||||
return char2filePath(char.value);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue