-
Notifications
You must be signed in to change notification settings - Fork 21
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
Attribute names are unconditionally lower-cased #41
Comments
Hi, I think that might be because of how cheerio handles that. |
Thank you. I confirmed that using |
I agree it is not ideal but unfortunately, I do not think there is a simple fix because of the underlying library used: cheeriojs/cheerio#1096 |
Yeah I don't have a good solution either. Please feel free to close the issue. We have a simple regex script that runs after static-i18n to work around the issue and it's okay for us now. Thank you for looking into it :) |
Thank you for the update (and sorry for the delay). |
This breaks some of the attributes like
viewBox
, which is case-sensitive.Input:
output:
The text was updated successfully, but these errors were encountered: