summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/output.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders/html/output.rb')
-rw-r--r--lib/coderay/encoders/html/output.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb
index 36018a7..8096dc8 100644
--- a/lib/coderay/encoders/html/output.rb
+++ b/lib/coderay/encoders/html/output.rb
@@ -25,7 +25,7 @@ module CodeRay
#
# a = Output.new '<span class="co">Code</span>'
# a.wrap! :page
- def new string, css, element = nil
+ def new string, css = CSS.new, element = nil
output = string.clone.extend self
output.wrapped_in = element
output.css = css