Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 606 Bytes

pr-6947.md

File metadata and controls

20 lines (16 loc) · 606 Bytes

Don't lowercase element names in CSS selectors (#6947 by @ark120202)

Previously, Prettier already preserved casing of unknown element names, but it did lowercase names of HTML elements. This caused issues when CSS was applied to a case-sensitive document and there was an element with the same name as in HTML, which is the case in NativeScript. Prettier now always preserves original casing.

/* Input */
Label {
}

/* Prettier stable */
label {
}

/* Prettier master */
Label {
}