mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Fix bug
This commit is contained in:
parent
9357184e6f
commit
ecc017d7ed
@ -92,7 +92,8 @@ export default Vue.component('mk-post-html', {
|
||||
return createElement('code', token.html);
|
||||
|
||||
case 'emoji':
|
||||
return createElement('span', emojilib.lib[token.emoji] || token.content);
|
||||
const emoji = emojilib.lib[token.emoji];
|
||||
return createElement('span', emoji ? emoji.char : token.content);
|
||||
}
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user