Skip to content

Variable names not supported as class names #369

Closed

Description

@PHPrf
@scope: name; 
.@{scope} .another-class {color: white;}

is rendered by LESSPHP - http://leafo.net/lessphp/ as:

.another-class {
color: white;
}

Whereas the LESSCSS compiler at http://lesstester.com/ renders it as:

.name .another-class{color:white;}

Should be pretty easy to fix. Thank you for the hard work you have put into this already.

Activity

  1. ds125v commented on Feb 7, 2013

    @ds125v

    I think this is breaking the compilation Boostrap 3's .less, but I'll file a separate bug anyway as i'm not 100% certain it's the same thing.

  2. leafo commented on Feb 13, 2013

    @leafo
    Owner

    It's in master, try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions