summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/css.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-03-15 23:45:09 +0000
committermurphy <murphy@rubychan.de>2006-03-15 23:45:09 +0000
commit23d2a5f2c6b876ba31a52e927973cdd57e2b6ef4 (patch)
treed200f63961cf23972beb2b52503175f087d1d884 /lib/coderay/encoders/html/css.rb
parent052466e27f9d42c051e49177d5f132d16dde69eb (diff)
downloadcoderay-23d2a5f2c6b876ba31a52e927973cdd57e2b6ef4.tar.gz
Fixed HTML encoder.
Changed HTML::CSS.load_stylesheet behaviour.
Diffstat (limited to 'lib/coderay/encoders/html/css.rb')
-rw-r--r--lib/coderay/encoders/html/css.rb2
1 files changed, 1 insertions, 1 deletions
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