summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/numerization.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-03-15 21:58:19 +0000
committermurphy <murphy@rubychan.de>2006-03-15 21:58:19 +0000
commitfea5260ce014ee521955c5afc929f3cae71a4c73 (patch)
treeba5cab1cf24a5cf31e7202d212d78792012884a5 /lib/coderay/encoders/html/numerization.rb
parent3b4a0d83ddd0eec0dc424798ad8ed3a53c5ba88c (diff)
downloadcoderay-fea5260ce014ee521955c5afc929f3cae71a4c73.tar.gz
Ruby scanner errors fixed.
demo_dump and demo_encoder updated for new YAML version. Fixes in output.rb and numerization.rb
Diffstat (limited to 'lib/coderay/encoders/html/numerization.rb')
-rw-r--r--lib/coderay/encoders/html/numerization.rb4
1 files changed, 2 insertions, 2 deletions
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