DotLess Ampersand Support

Mar 20, 2012 at 7:31 PM

It appears '&' is breaking the transform less to css.

For example, if less1.chip.less looks like this:

 

a {
  color: #fff;
}

 

then it is correctly compiled in less1.css as:

 

a { color: white; }

 

However, if I have an ampersand like this:

 

a {
  color: #fff;
  &:hover {
    color: #000;
  }
}

Then less1.css is blank. Is this because this add-in is using an older version of .less?

Thank you.

 

Developer
Mar 24, 2012 at 1:44 AM

Chirpy use last dotless available on NuGet.

Apr 6, 2012 at 7:25 PM

Thanks for your response. Sorry for the really late reply! I was pulled onto other projects and just got back to this.

I believe the problem is I was using the older version found here: http://chirpy.codeplex.com/releases/view/46194. I grabbed the latest one and it works perfectly.