Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalization breaks it(?) #3

Open
NanoCats opened this issue Aug 29, 2021 · 1 comment
Open

Capitalization breaks it(?) #3

NanoCats opened this issue Aug 29, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@NanoCats
Copy link

NanoCats commented Aug 29, 2021

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
Copy link
Owner

Puv1s commented Aug 29, 2021

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

@Puv1s Puv1s added the bug Something isn't working label Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants