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

Odd behaviour on less #153

Closed
saschalalala opened this issue Sep 7, 2014 · 3 comments
Closed

Odd behaviour on less #153

saschalalala opened this issue Sep 7, 2014 · 3 comments

Comments

@saschalalala
Copy link

Got this less-code before prettyfying
body {
width: 100%;
height: 100%;
font-family: @main_font,"Helvetica Neue",Helvetica,Arial,sans-serif;
color: @dark;
background-color: @light;
}

After prettifying, I get this:
body {
width: 100%;
height: 100%;
font-family: @main_font,"Helvetica Neue",Helvetica,Arial,sans-serif;
color: @dark;

background-color: @light;

}

(Pastebin, just in case: http://pastebin.com/4K2mr9x3)
I use SublimeText 3 and these are my .jsbeautifyrc css settings:
"css": {
"allowed_file_extensions": ["css", "scss", "sass", "less"],
"end_with_newline": false,
"indent_char": " ",
"indent_size": 2,
"selector_separator": " ",
"selector_separator_newline": false
}

Operating system is Arch Linux btw.

@victorporof
Copy link
Owner

Please file this bug at https://github.com/beautify-web/js-beautify

@saschalalala
Copy link
Author

Has been fixed upstream: beautifier/js-beautify#520

@victorporof
Copy link
Owner

626bd2e

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

2 participants