tiny icon indicating copy to clipboard operation
tiny copied to clipboard

Weird Highlighting

Open znschaffer opened this issue 1 year ago • 5 comments

my nick is znschaffer yet tiny keeps on highlighting YouTube links bizarrely.

image

I'm not sure what in the regex for nick's would cause this but it's mighty annoying

znschaffer avatar Sep 17 '24 17:09 znschaffer

This is probably an IRC color code to show the "Tube" part in red background, similar to the old logos here: https://logos-world.net/youtube-logo/ (scroll to "Meaning and History").

It looks like either the colored part is not terminated, or it is terminated but we don't handle the termination code properly.

Have you checked if these messages look as expected in other clients?

Which server/channel is this? Maybe I (or someone else) can join and debug this.

osa1 avatar Sep 17 '24 18:09 osa1

@znschaffer could you try #435 and let me know if it fixes the issue?

osa1 avatar Sep 17 '24 18:09 osa1

oh my! i never would've thought it was added in w/ escape codes to replicate the old logomark. trying this patch now

znschaffer avatar Sep 17 '24 18:09 znschaffer

image cheers! @osa1

znschaffer avatar Sep 17 '24 19:09 znschaffer

That's better, but it still doesn't look right. The part after "Tube" looks bold now. Is this expected? Is it how it looks like in other clients?

osa1 avatar Sep 17 '24 19:09 osa1