lib/scss_beautifier/formatters/selector.rb in scss_beautifier-0.1.8 vs lib/scss_beautifier/formatters/selector.rb in scss_beautifier-0.1.10

- old
+ new

@@ -1,8 +1,8 @@ class SCSSBeautifier::Formatters::Selector < Sass::Tree::Visitors::Base def visit_rule(node) node.rule = node.rule.each do |rule| - rule.gsub!(/,/, ",\n") + rule.gsub!(/,/, ",\n") if rule.is_a?(String) end node.send(:try_to_parse_non_interpolated_rules) end end