BlessCSS / bless

CSS Post-Processor
blesscss.com
MIT License
282 stars 60 forks source link

Overly-aggressive removal of content #15

Open damianpeterson opened 11 years ago

damianpeterson commented 11 years ago

Hi and thanks for your work; it saved my bacon!

I came across this oddity that you may want to know about. See how the '.not-long-for-this-world' was removed leaving an orphan closing brace:

Original CSS

.selector0 {}
.not-long-for-this-world {
  /*
  &:before {
    background:transparent url('@{imgPath}pet-hero-glow.png') no-repeat 0 bottom;
  }
  */
}
.selector1 {}
.selector2 {}
.selector3 {}
/* etc to 4095 */

Blessed CSS

.selector0 {}
  /*
  &:before {
    background:transparent url('@{imgPath}pet-hero-glow.png') no-repeat 0 bottom;
  }
  */
}
.selector1 {}
.selector2 {}
.selector3 {}
/* etc to 4095 */
paulyoung commented 8 years ago

I believe this issue is fixed but was left open so a regression test could be added as part of #17.