Skip to content

Comments misplaced #3511

Open
Open
@cipchk

Description

@cipchk

Less.js Version: 3.11.1

/** a */
.modal {
  /** b */
  &-header {
    font-size: 12px;
  }
  /** c */
  &-title {
    font-size: 12px;
  }

Output:

/** a */
.modal {
  font-size: 12px;
  /** b */
  /** c */
}
.modal-header {
  font-size: 12px;
}
.modal-title {
  font-size: 12px;
}

I think it should output:

/** a */
.modal {
  font-size: 12px;
}
/** b */
.modal-header {
  font-size: 12px;
}
/** c */
.modal-title {
  font-size: 12px;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions