Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatter inserts newline in attribute-selector value with comma #30

Closed
hwanders opened this issue Nov 18, 2016 · 0 comments
Closed

Formatter inserts newline in attribute-selector value with comma #30

hwanders opened this issue Nov 18, 2016 · 0 comments

Comments

@hwanders
Copy link

This is my test lessText (notice the comma in the attribute-selector's value):

div[data-test='foo,bar']
{
    cursor: default;
}

Calling Less.compile(null, lessText, false) results in the following invalid output:

div[data-size='foo,
bar'] {
    cursor: default;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant