From aa17b9942d6ca3d01e3f74513e0903a195c23b22 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 20 Apr 2011 19:49:53 +0000 Subject: Encoder refactoring to fix LOC and Statistic encoders --- lib/coderay/scanners/css.rb | 2 +- lib/coderay/scanners/html.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/coderay/scanners') diff --git a/lib/coderay/scanners/css.rb b/lib/coderay/scanners/css.rb index ee76234..6413f8f 100644 --- a/lib/coderay/scanners/css.rb +++ b/lib/coderay/scanners/css.rb @@ -9,7 +9,7 @@ module Scanners :comment, :class, :pseudo_class, :type, :constant, :directive, - :key, :value, :operator, :color, :float, + :key, :value, :operator, :color, :float, :string, :error, :important, ] # :nodoc: diff --git a/lib/coderay/scanners/html.rb b/lib/coderay/scanners/html.rb index 659ed39..a2e8553 100644 --- a/lib/coderay/scanners/html.rb +++ b/lib/coderay/scanners/html.rb @@ -13,7 +13,7 @@ module Scanners KINDS_NOT_LOC = [ :comment, :doctype, :preprocessor, :tag, :attribute_name, :operator, - :attribute_value, :delimiter, :content, + :attribute_value, :string, :plain, :entity, :error, ] # :nodoc: -- cgit v1.2.1