Skip to content

variables in attribute selectors will not work as expected #633

@acatl

Description

@acatl

less:

@my-variable: "alternative";
.myClass[data-genre="@{my-variable}"] {
  /* --- */
}

output:

.myClass[data-genre="@{my-variable}"] {
  /* --- */
}

expected:

.myClass[data-genre="alternative"] {
  /* --- */
}

the variable does not get injected into the selector attribute's value. is this a known issue?, is this even posible?

thanks in advance!

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