Skip to content

Remove trailing variation selector code for legacy emojis#37320

Merged
ClearlyClaire merged 1 commit intomainfrom
fix/emoji-trailing-selectors
Dec 19, 2025
Merged

Remove trailing variation selector code for legacy emojis#37320
ClearlyClaire merged 1 commit intomainfrom
fix/emoji-trailing-selectors

Conversation

@ChaosExAnima
Copy link
Contributor

Emojibase trims the trailing variation selector code (U+FE0F) in it's dataset, as emoji like ❤️ often are provided without. This was making those emoji not found in the emoji database.

This PR trims trailing variation selector codes to match the Emojibase spec.

Also, if there is a trailing text variation selector code (U+FE00), instead of trying to look up the emoji the rendering system just exits early to allow for text rendering. For instance, this means characters like will render correctly.

@ChaosExAnima ChaosExAnima requested a review from a team December 19, 2025 12:11
@ClearlyClaire ClearlyClaire added the to backport PR needed to be backported label Dec 19, 2025
@ClearlyClaire ClearlyClaire added this pull request to the merge queue Dec 19, 2025
Merged via the queue into main with commit f254b47 Dec 19, 2025
52 of 53 checks passed
@ClearlyClaire ClearlyClaire deleted the fix/emoji-trailing-selectors branch December 19, 2025 13:57
@ClearlyClaire ClearlyClaire removed the to backport PR needed to be backported label Jan 19, 2026
mistydemeo pushed a commit to mistydemeo/mastodon that referenced this pull request Jan 20, 2026
mimikun pushed a commit to mimikun/mastodon that referenced this pull request Jan 23, 2026
mimikun pushed a commit to mimikun/mastodon that referenced this pull request Jan 23, 2026
mo-rijndael pushed a commit to mastodon-ml/mastodon that referenced this pull request Jan 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments