From 23d2a5f2c6b876ba31a52e927973cdd57e2b6ef4 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 15 Mar 2006 23:45:09 +0000 Subject: Fixed HTML encoder. Changed HTML::CSS.load_stylesheet behaviour. --- lib/coderay/encoders/html/css.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders/html/css.rb') diff --git a/lib/coderay/encoders/html/css.rb b/lib/coderay/encoders/html/css.rb index ef564ce..e938e07 100644 --- a/lib/coderay/encoders/html/css.rb +++ b/lib/coderay/encoders/html/css.rb @@ -7,7 +7,7 @@ module CodeRay module Encoders attr :stylesheet - def CSS.load_stylesheet style + def CSS.load_stylesheet style = :default style = DEFAULT_STYLESHEET_ID if style == :default CodeRay::Styles[style] end -- cgit v1.2.1