phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

Emoji shortcode showing on profile and posts page title

Open Fastidious opened this issue 1 year ago • 2 comments
trafficstars

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:

image

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.

Fastidious avatar May 31 '24 15:05 Fastidious

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 🤔

cheeaun avatar Jun 01 '24 01:06 cheeaun

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.

Fastidious avatar Jun 01 '24 17:06 Fastidious