From fea5260ce014ee521955c5afc929f3cae71a4c73 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 15 Mar 2006 21:58:19 +0000 Subject: Ruby scanner errors fixed. demo_dump and demo_encoder updated for new YAML version. Fixes in output.rb and numerization.rb --- lib/coderay/encoders/html/numerization.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/coderay/encoders/html/numerization.rb') diff --git a/lib/coderay/encoders/html/numerization.rb b/lib/coderay/encoders/html/numerization.rb index f51b5d3..edce9eb 100644 --- a/lib/coderay/encoders/html/numerization.rb +++ b/lib/coderay/encoders/html/numerization.rb @@ -12,9 +12,9 @@ module CodeRay NUMERIZABLE_WRAPPINGS = { :table => [:div, :page], :inline => :all, - :list => [:div, :page], - nil => :all + :list => [:div, :page] } + NUMERIZABLE_WRAPPINGS.default = :all def numerize! mode = :table, options = {} return self unless mode -- cgit v1.2.1