-
Notifications
You must be signed in to change notification settings - Fork 3.4k
options for formatting output css / keep the same as input #1183
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
Comments
yes.. less does not store any whitespace information and purposefully re-formats the output css. Why are the above issues for you? |
The problem is less of whitespace but that sometimes it removes LINEB REAKS and sometimes it adds it.
it becomes
Point 1) ads a lot of extra lines to the code and point 2) becomes an issue for reading the final output, next to the fact that along the line Espresso no longer shows groups properly and it gets really "messy" to read. Hope this makes now more sense. |
I second this, and I think it warrants a bit more priority than a 9-month open issue. Good formatting of the compiled css is very important when working for a client whom may or may not want to edit it down the line. They are not always comfortable or have the means to edit less and compile it themselves, and the current css formatting just looks hideous. @mStudios illustrates these issues perfectly. Please reconsider this simple request. |
If the request is so simple why not fork it yourself and do a pull request? On Saturday, November 16, 2013, Saul Fautley wrote:
|
I said the request was simple; I said nothing of the implementation... :P |
Sorry, I didn't mean to sound as harsh as it did. In the mean time, you may want to check out the css-beautifier grunt task https://github.com/sexnothing/grunt-cssbeautifier It's as easy to integrate into a grunt workflow as cssmin and uglify but it does the opposite and will format your code based on a set of rules you can define. |
No worries man. Thanks for the tip, I'll check it out. |
Merging to #2176 |
I'm using CodeKit and running into the issue that when I compile the .less files (regular, not minified) of which Bryan from Incident57 tells me that these are not CodeKit but Less compiler issues :
When compiling it does not keep the less structure but breaks lines after a comma
Linebreaks are not kept
The text was updated successfully, but these errors were encountered: