sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.87k stars 350 forks source link

Silent comments are incorrectly preserved in at-rule values #2263

Closed nex3 closed 2 months ago

nex3 commented 2 months ago

For example, the SCSS stylesheet

@foo bar // comment

currently produces the CSS

@foo bar // comment;

(Playground link)

This is invalid, and an incorrect interpretation of the silent comment semantics.