VelocityDiscord icon indicating copy to clipboard operation
VelocityDiscord copied to clipboard

Emoticons in display names breaking formatting

Open LevyWilson opened this issue 11 months ago • 2 comments

So we got a person with the Discord display name Rosa <3. When they post in the Discord channel, the display name breaks the formatting in MC. I don't know if you can fix this, but I figured I should bring it to your attention. image

LevyWilson avatar Dec 14 '24 09:12 LevyWilson

something about escaping < in minimessage is not working, so for now ive replaced < > with in 46e15edef0c8b57728b18b63296d81181bba7ef5 which looks a little odd but is a little better than the entire message formatting breaking

i will keep this issue open until minimessage fixes this issue or i get around to fixing it myself and sending a pr

fooooooooooooooo avatar Feb 24 '25 20:02 fooooooooooooooo

I sort of fixed this in my fork.

Image

Whenever a user has a < in the username I simply remove the hover thingy since as far as I see it does nothing but display the username again when hovering over it?

Image

realdody avatar Feb 25 '25 10:02 realdody