summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-04-20 19:49:53 +0000
committermurphy <murphy@rubychan.de>2011-04-20 19:49:53 +0000
commitaa17b9942d6ca3d01e3f74513e0903a195c23b22 (patch)
treeeeee0ac8f13199d726f9eeb8f4ad7194773f0d36 /lib/coderay/scanners
parent763948b33279a418b17f09f110e8cab0035a0734 (diff)
downloadcoderay-aa17b9942d6ca3d01e3f74513e0903a195c23b22.tar.gz
Encoder refactoring to fix LOC and Statistic encoders
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r--lib/coderay/scanners/css.rb2
-rw-r--r--lib/coderay/scanners/html.rb2
2 files changed, 2 insertions, 2 deletions
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: