From 5122b3d9eb3d9abfaf68b89442ce514c85f4d143 Mon Sep 17 00:00:00 2001 From: murphy Date: Thu, 22 Nov 2007 15:27:01 +0000 Subject: - Ruby 1.9 fixes - rake commands for jruby and rubinius - absolutized CodeRay::Tokens::ClassOfKind --- lib/coderay/encoders/html.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders') diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb index 0c66f68..4981585 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -158,7 +158,7 @@ module Encoders when :class @css_style = Hash.new do |h, k| - c = Tokens::ClassOfKind[k.first] + c = CodeRay::Tokens::ClassOfKind[k.first] if c == :NO_HIGHLIGHT and not hint h[k.dup] = false else -- cgit v1.2.1