diff options
author | murphy <murphy@rubychan.de> | 2010-08-23 18:55:00 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-08-23 18:55:00 +0000 |
commit | dcde0149880777d75dcd17691d483d9bbc76a762 (patch) | |
tree | 3a195dc5ea3e54294a423d666ad90d9f67037bd4 /lib/coderay/encoders | |
parent | 93c4cd11c3b9349efbaac3ea51430123ca3b475e (diff) | |
download | coderay-dcde0149880777d75dcd17691d483d9bbc76a762.tar.gz |
Fixed HTML encoder :hint => info option.
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r-- | lib/coderay/encoders/html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |