Closed idoros closed 5 months ago
This PR fixes the handling of multi-line declaration values to preserve the original position of comments at the top level of declarations.
For example, given the unformatted code:
.a { prop: /*initial comment*/ val1 val2 }
Before this PR, the comment would be moved to the declaration line:
After this PR, the comment remains on its own line:
This PR fixes the handling of multi-line declaration values to preserve the original position of comments at the top level of declarations.
For example, given the unformatted code:
Before this PR, the comment would be moved to the declaration line:
After this PR, the comment remains on its own line: