mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Fixed RuleNode initializer bug in css2sass.
This commit is contained in:
parent
8f85cfdf99
commit
2a436fbf92
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ module Sass
|
|||
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.strip, nil)
|
||||
node = Tree::RuleNode.new(rule.strip, {})
|
||||
node.children = child.children
|
||||
node
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue