Skip to content

Inline comments should be kept inline #417

@maxstarkenburg

Description

@maxstarkenburg

This is a "repeat" of the ticket made at sass/sass#235 which presented the problem of code like:

.myselector {
  display: none; /* javascript will fix this */
}

compiling to:

.myselector {
  display: none;
  /* javascript will fix this */
}

That ticket was moved to ruby-sass and closed as on ice since it was deemed to be specific to Ruby Sass's deprecated implementation. However, I'm seeing it happen for me despite using Dart Sass. I use --style expanded for what it's worth.

My apologies if this is somehow being caused by interference with an old and probably only partially working ruby (when I run sass --help I am seeing references to Dart, e.g. --version Print the version of Dart Sass., though don't know if there's still possible room for interference, or how I might resolve that). Thanks for any possible work on this, or letting me know if there is simply some flag or style setting whose documentation I missed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions