Skip to content

Commit

Permalink
Fixed bug in css2sass that caused whitespace indentation issues for c…
Browse files Browse the repository at this point in the history
…omma-delimited rules in the original CSS.
  • Loading branch information
chriseppstein committed Oct 10, 2008
1 parent 7dc7304 commit 9e78eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sass/css.rb
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def expand_commas(root)
root.children.map! do |child|
next child unless Tree::RuleNode === child && child.rule.include?(',')
child.rule.split(',').map do |rule|
node = Tree::RuleNode.new(rule, nil)
node = Tree::RuleNode.new(rule.strip, nil)
node.children = child.children
node
end
Expand Down

0 comments on commit 9e78eca

Please sign in to comment.