Puv1s / ColorTooltips

4 stars 1 forks source link

Capitalization breaks it(?) #3

Open NanoCats opened 3 years ago

NanoCats commented 3 years ago

Reproduction steps

  1. Be me, experimenting with plugin, write a color in whatever format like so image

  2. Get color from a site which had it in multi formats, wanted to see if it works on two in the same message

  3. Entering #55E0BF (Eucalyptus) - RGB 85, 224, 191 causes just the hex code to be accepted, sure, can't account for all formats I guess

  4. Try again, discover that RGB being capitalized stops ANY color formatting in this message image

I thought this was enough of a thing that resembles a bug that it was worth reporting.

Puv1s commented 3 years ago

Yeah thanks, I'll be modifying the regex so it takes wider range of capitalization and spacings.