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

Spaces inserted in attribute selectors #146

Closed
hejmartin opened this issue Jun 8, 2016 · 1 comment
Closed

Spaces inserted in attribute selectors #146

hejmartin opened this issue Jun 8, 2016 · 1 comment
Labels

Comments

@hejmartin
Copy link

I guess stylefmt thinks that the ~ is a general sibling combinator, and therefore inserts whitespace around it, but this breaks the attribute selector when using ~=.

Input:

[data-sizes~="m:0"] {}

Output:

[data-sizes ~ ="m:0"] {}
@matype matype added the bug label Jun 8, 2016
@matype matype mentioned this issue Jun 9, 2016
@matype matype closed this as completed in a5dc09d Jun 9, 2016
matype pushed a commit that referenced this issue Jun 9, 2016
@matype
Copy link
Owner

matype commented Jun 9, 2016

@hejmartin Just released stylefmt v3.4.2. Please update to latest version and confirm it. Thank you for your report :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants