Skip to content

Tabs and whitespaces are compiled to css-incompatible values in multi-line selectors #285

@fabian-mcfly

Description

@fabian-mcfly

Using thise code

$var:800;

.Title {
	@media screen AND (max-width:#{$var}px),
	screen AND (max-height:920px) {
		font-size:#{32 / 16}rem;
	}
}

you will receive this CSS output, breaking the Media Query:

@media screen AND (max-width:800px),\d \a \9 screen AND (max-height:920px) {
  .Title {
    font-size: 2rem;
  }
}

The result must not include \d \a \9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingspec complianceIssues with compliance to the Sass spec

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions