SCSS removing space when it shouldn't #5636
Labels
lang:css/scss/less
Issues affecting CSS, Less or SCSS
priority:high
Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 1.15.3
Playground link
Input:
Output:
Expected behavior:
That space between
min-height
and the math should be left alone. With the space removed, this unfortunately results in some invalid CSS as its now treated as a CSS function instead of the property name. This results in something similar to the the following CSS when compiled by SassThe text was updated successfully, but these errors were encountered: