From dcde0149880777d75dcd17691d483d9bbc76a762 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 23 Aug 2010 18:55:00 +0000 Subject: Fixed HTML encoder :hint => info option. --- 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 02b3550..5c90453 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -163,7 +163,7 @@ module Encoders title = case hint when :info - TOKEN_KIND_TO_INFO[kinds.first] + TOKEN_KIND_TO_INFO[Array(kinds).first] when :info_long kinds.map { |kind| TOKEN_KIND_TO_INFO[kind] }.join('/') when :debug -- cgit v1.2.1