-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
CSS tag name lowercasing #5788
Copy link
Copy link
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Metadata
Metadata
Assignees
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Prettier 1.14.3
Playground link
Input:
Output:
Expected behavior:
I am using prettier on a NativeScript project, which uses an Xml markup with some tag names similar to html but with uppercase names (like Label and Button). CSS is largely case-insensitive, so the styles still apply properly even with the incorrect lowercase tag names output by prettier, but it sure looks inconsistent when looking at the markup and the styles together.