Fix bug
This commit is contained in:
		
							parent
							
								
									8e904aa4b3
								
							
						
					
					
						commit
						44946e8359
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue