We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 613d5e2 commit 235a2baCopy full SHA for 235a2ba
1 file changed
scripts/remove-emojis.lua
@@ -29,7 +29,8 @@ local function cleanup(elem)
29
if elem.text ~= nil then
30
elem.text = demojify(elem.text)
31
if #elem.text ~= 0 then
32
- if elem.text:starts_with(":") and elem.text:ends_with(":") then
+ -- remove github emoji
33
+ if elem.text:starts_with(":") and elem.text:ends_with(":") and #elem.text > 2 then
34
prevEmoji = true
35
return {}
36
else
0 commit comments