diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-11 03:29:54 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-11 03:29:54 +0200 |
commit | b159057934d2c84c0a25c83f6cbe59010345d0a7 (patch) | |
tree | 208ad98119769c5fc59713be3dca486ff3a03c3c /lib/coderay/scanners/css.rb | |
parent | e23f69fb58787578b3f9894a8b77722d290d8092 (diff) | |
download | coderay-b159057934d2c84c0a25c83f6cbe59010345d0a7.tar.gz |
tweak CSS tag/id token kind patch from noprompt
Diffstat (limited to 'lib/coderay/scanners/css.rb')
-rw-r--r-- | lib/coderay/scanners/css.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/css.rb b/lib/coderay/scanners/css.rb index 22c6bfc..732f9c5 100644 --- a/lib/coderay/scanners/css.rb +++ b/lib/coderay/scanners/css.rb @@ -10,7 +10,7 @@ module Scanners :class, :pseudo_class, :tag, :id, :directive, :key, :value, :operator, :color, :float, :string, - :error, :important, + :error, :important, :type, ] # :nodoc: module RE # :nodoc: @@ -99,7 +99,7 @@ module Scanners when :media_before_name if match = scan(RE::Ident) - encoder.text_token match, :tag + encoder.text_token match, :type states[-1] = :media_after_name next end |