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

Attributes on viewfile component tags are converted to lowercase #9

Open
genius257 opened this issue Nov 10, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@genius257
Copy link
Owner

This issue is when attributes on an component via a viewfile is parsed, they are all converted to lowercase.
This results in any attribute names containing uppercase letters producing an exception.

This may be solved in 2 ways:

  1. The component should use lowercase, when comparing names
  2. The custom parser solution must preserve string case for special use by this project.

solution number 2 seems best, but will require same approach as how it deals with tag names (extending the original and keeping case intact string in secondary attribute)

@genius257 genius257 added the bug Something isn't working label Nov 10, 2021
@genius257 genius257 self-assigned this Nov 10, 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

1 participant