lib/rouge/lexers/css.rb in rouge-1.10.1 vs lib/rouge/lexers/css.rb in rouge-1.11.0
- old
+ new
@@ -189,9 +189,11 @@
rule /\.#{identifier}/, Name::Class
rule /##{identifier}/, Name::Function
rule /@#{identifier}/, Keyword, :at_rule
rule identifier, Name::Tag
rule %r([~^*!%&\[\]()<>|+=@:;,./?-]), Operator
+ rule /"(\\\\|\\"|[^"])*"/, Str::Single
+ rule /'(\\\\|\\'|[^'])*'/, Str::Double
end
state :value do
mixin :basics
rule /url\(.*?\)/, Str::Other