phanpy
phanpy copied to clipboard
Emoji shortcode showing on profile and posts page title
Describe the bug The emoji shortcode shows on the profile and posts page title.
To Reproduce Just go to a user with a custom emoji after its name profile, or click/tap on an user with custom emoji after its name post. It will show like so:
Expected behavior I would expect no custom emoji name (nor emoji) to show on title. Perhaps strip it all together from title?
Screenshots See above.
Desktop (please complete the following information):
- Linux, Gnome
- Chrome
- 24.04
This should happen on any browser, any platform.
Mastodon web does this (not sure about other non-Mastodon forks), so expectations might differ? I'm not sure 🤔
I've seen accounts that sets only custom emoji(s) as the name, so probably need to detect this. Or custom emojis in between words 🤔
I think (I think), it should be safe stripping anything in between : … :, but yes, “it’s complicated”. 😅 GoToSocial simple web interface removes them from title. I can find their commit for that, but’s Golang.