Skip to content
Snippets Groups Projects
Commit 44946e83 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 8e904aa4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment