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

beautifying scss selector with colon in it adds space #1667

Closed
1aron opened this issue Apr 23, 2019 · 0 comments
Closed

beautifying scss selector with colon in it adds space #1667

1aron opened this issue Apr 23, 2019 · 0 comments

Comments

@1aron
Copy link

1aron commented Apr 23, 2019

Description

I use vscode extension "Beautify" and I know that it is based on "js-beautify"

Input

The code looked like this before beautification:

a:not(.color\:blue) { }

Expected Output

The code should have looked like this after beautification:

a:not(.color\:blue) { }

Actual Output

The code actually looked like this after beautification:

a:not(.color\: blue) { }

One more whitespace would make compile error !!

Steps to Reproduce

just format

Environment

OS: Mojave 10.14.1

Settings

I use vscode "Beautify" extension

@1aron 1aron changed the title beautify scss selector error [Major Error] beautifying scss selector results in one more whitespace Apr 23, 2019
@bitwiseman bitwiseman added this to the v1.9.x milestone Apr 23, 2019
@bitwiseman bitwiseman changed the title [Major Error] beautifying scss selector results in one more whitespace beautifying scss selector results in one more whitespace Apr 29, 2019
@bitwiseman bitwiseman changed the title beautifying scss selector results in one more whitespace beautifying scss selector with colon in it adds space Apr 29, 2019
@bitwiseman bitwiseman modified the milestones: v1.9.x, v1.10.x Apr 29, 2019
@bitwiseman bitwiseman modified the milestones: v1.10.x, v1.9.x May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants