diff --git a/lib/rouge/lexers/css.rb b/lib/rouge/lexers/css.rb index fc0c9b2628..b67850771f 100644 --- a/lib/rouge/lexers/css.rb +++ b/lib/rouge/lexers/css.rb @@ -154,7 +154,7 @@ def self.builtins s-resize sans-serif saturation scale-down screen scroll se-resize semi-condensed semi-expanded separate serif show sides silent size slow slower small-caps small-caption smaller - smooth soft soft-light solid space-aroun space-between + smooth soft soft-light solid space-around space-between space-evenly span spell-out square start static status-bar sticky stretch sub subtract super sw-resize swap symbolic table table-caption table-cell table-column table-column-group @@ -259,6 +259,7 @@ def self.vendor_prefixes end state :at_rule do + rule %r/(?:<=|>=|~=|\|=|\^=|\$=|\*=|<|>|=)/, Operator rule %r/{(?=\s*#{identifier}\s*:)/m, Punctuation, :at_stanza rule %r/{/, Punctuation, :at_body rule %r/;/, Punctuation, :pop!