Closed ChristopherBull closed 9 months ago
The lowercase rule enforces all tags and attributes to be lowercase. However, some attributes are meant to be case-sensitive (or camel-cased).
For example, the viewBox SVG attribute should be ignored by this rule by default--it should not be lowercase.
viewBox
This could be achieved similarly to: https://htmlhint.com/docs/user-guide/rules/attr-lowercase
Hi @ChristopherBull Thank you for reporting the issue. This is definitely a bug and should be fixed.
The lowercase rule enforces all tags and attributes to be lowercase. However, some attributes are meant to be case-sensitive (or camel-cased).
For example, the
viewBox
SVG attribute should be ignored by this rule by default--it should not be lowercase.This could be achieved similarly to: https://htmlhint.com/docs/user-guide/rules/attr-lowercase