lib/under_os/parser/css.rb in under-os-1.1.0 vs lib/under_os/parser/css.rb in under-os-1.2.0

- old
+ new

@@ -1,10 +1,10 @@ class UnderOs::Parser::CSS def parse(style) style = style.gsub(/\/\*[\s\S]+?\*\//, '').strip {}.tap do |result| - style.scan(/(\A|\})([a-z0-9_\-\.\s#:,]+)\{([^}]+)/).map do |rule| + style.scan(/(\A|\})([a-z0-9_\*\-\.\s#:,]+)\{([^}]+)/).map do |rule| values = parse_styles(rule[2]) rule[1].split(',').each do |css_rule| result[css_rule.gsub(/\s+/, ' ').strip] = values end