Kronuz/pyScss

Nested tilde selectors fail to retain tilde

matharden opened this issue · 2 comments

This code…

div ~ {
  p,
  blockquote {
    background-color: blue;
  }
}

should output…

div ~ p,
div ~ blockquote {
  background-color: blue;
}

but incorrectly discards the tildes and returns…

div p,
div blockquote {
  background-color: blue;
}

My current work-around is to write it like this…

div {
  ~ p,
  ~ blockquote {
    background-color: blue;
  }
}

This is also a problem with child (>) combinators. The following code fails to retain the >

div > {
  a,
  strong {
    background-color: blue;
  }
}
eevee commented

Fixed in 1.3.5.