Skip to content

Commit

Permalink
fix Issue beautifier#87: Wrong CSS beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Dec 26, 2011
1 parent 577b700 commit 712b691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beautify-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ function css_beautify(source_text, options) {
output.pop();

if (output.length)
output.push('\n', indentString);
else
output.push('\n');
if (indentString)
output.push(indentString);
}
print.singleSpace = function() {
Expand Down

0 comments on commit 712b691

Please sign in to comment.