From 5e1a22755ed0630ea0c09111c77253f45b215789 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 6 Jan 2010 22:45:24 +0000 Subject: Encoders::HTML#token's second parameter is no longer optional. --- 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 89290d0..ffbc6ca 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -237,7 +237,7 @@ module Encoders super end - def token text, type = :plain + def token text, type case text when nil -- cgit v1.2.1