jpablobr/css2sass

The following rule breaks the conversion

Closed this issue · 1 comments

tsak commented

Encountered an error http://css2sass.heroku.com/ when trying to convert something similar to this:

#node > p.foo > a, #node > p > a.bar {
}

This only fails as long as there's no actual content between { and }. In comparison:

#node > p.foo > a, #node > p > a.bar {
/* Some stuff */
}

Converts fine to:

#node > p {
  &.foo > a, > a.bar {
    /* Some stuff */
  }
}

Thanks! but his is similar to:

#2
#4
#8

So it might better to open an issue or pull request over there. :/