mirror of
				https://github.com/ZetaKebab/quartz.git
				synced 2025-11-04 06:49:49 +00:00 
			
		
		
		
	fix(emoji): map multi-unicode emoji properly (#2037)
* fix(emoji): map multi-unicode emoji properly * Regenerated emoji map
This commit is contained in:
		@@ -37,7 +37,7 @@ export async function loadEmoji(code: string) {
 | 
				
			|||||||
    emojimap = data
 | 
					    emojimap = data
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const name = emojimap.codePointToName[`U+${code.toUpperCase()}`]
 | 
					  const name = emojimap.codePointToName[`${code.toUpperCase()}`]
 | 
				
			||||||
  if (!name) throw new Error(`codepoint ${code} not found in map`)
 | 
					  if (!name) throw new Error(`codepoint ${code} not found in map`)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const b64 = emojimap.nameToBase64[name]
 | 
					  const b64 = emojimap.nameToBase64[name]
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user