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 #520

Closed
saschalalala opened this issue Sep 8, 2014 · 1 comment
Closed

Odd behaviour on less #520

saschalalala opened this issue Sep 8, 2014 · 1 comment

Comments

@saschalalala
Copy link

Hi, I am using Sublime3 with the Sublime-HTMLPrettify plugin (https://github.com/victorporof/Sublime-HTMLPrettify) and was told to file my bug here.

Copypaste

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 .

@bitwiseman
Copy link
Member

Fixed in v1.5.3

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