diff --git a/build/update-emoji.js b/build/update-emoji.js index bae3af34a..151a46cb3 100644 --- a/build/update-emoji.js +++ b/build/update-emoji.js @@ -13,7 +13,7 @@ Object.keys(emojis).map((k) => { const res = {} Object.keys(emojis).forEach((k) => { - const groupId = k.replace('&', 'and').replaceAll(/ /, '-').toLowerCase() + const groupId = k.replace('&', 'and').replaceAll(' ', '-').toLowerCase() res[groupId] = emojis[k] })