lib/rouge/lexers/css.rb in rouge-0.3.6 vs lib/rouge/lexers/css.rb in rouge-0.3.7

- old
+ new

@@ -193,10 +193,10 @@ state :value do mixin :basics rule /url\(.*?\)/, 'Literal.String.Other' rule /#[0-9a-f]{1,6}/i, 'Literal.Number' # colors rule /#{number}(?:em|px|%|pt|pc|in|mm|m|ex|s)?\b/, 'Literal.Number' - rule /[\[\]():\/.]/, 'Punctuation' + rule /[\[\]():\/.,]/, 'Punctuation' rule /"(\\\\|\\"|[^"])*"/, 'Literal.String.Single' rule /'(\\\\|\\'|[^'])*'/, 'Literal.String.Double' rule(identifier) do |m| if self.class.constants.include? m[0] token 'Name.Constant'