Skip to content

Commit f6816f8

Browse files
committed
Better FFI hyperlink
1 parent 3d7a5e4 commit f6816f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ async function main() {
374374
labelField: "description",
375375
url: (cell) => {
376376
var codepoints = cell.getData().codepoints;
377-
return `https://www.fileformat.info/info/emoji/${codepoints}/index.htm`;
377+
return `https://www.fileformat.info/info/emoji/${codepoints.toLowerCase().replaceAll(' ', '_')}/index.htm`;
378378
},
379379
target: "_blank",
380380
},

0 commit comments

Comments
 (0)