Skip to content

Loss of spaces in interpolated selectors #593

@mgol

Description

@mgol

The following:

h1:nth-of-type(#{2 + 'n + 1'}) {
    color: red;
}

is transformed by libsass to:

h1:nth-of-type(2n+1) {
  color: red; }

As you can see, spaces around the + are lost. Ruby Sass (3.4.5) preserves them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions