Skip to content

Commit b1fd777

Browse files
committed
Merge branch 'v4' of https://github.com/jackyzha0/quartz into v4
2 parents 082f847 + 74606a1 commit b1fd777

File tree

2 files changed

+1911
-1911
lines changed

2 files changed

+1911
-1911
lines changed

quartz/util/emoji.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function loadEmoji(code: string) {
3737
emojimap = data
3838
}
3939

40-
const name = emojimap.codePointToName[`U+${code.toUpperCase()}`]
40+
const name = emojimap.codePointToName[`${code.toUpperCase()}`]
4141
if (!name) throw new Error(`codepoint ${code} not found in map`)
4242

4343
const b64 = emojimap.nameToBase64[name]

0 commit comments

Comments
 (0)