summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/output.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-08-31 16:09:34 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-08-31 16:09:34 +0200
commit90cf0323db24d5fe2e326f9a413d85a49402f5a9 (patch)
treeff7062a85cb5bdd3504391cbd905bb8f0809afa6 /lib/coderay/encoders/html/output.rb
parent718c0ac901eef189a1dad36f57a78f36d9d0ba11 (diff)
downloadcoderay-90cf0323db24d5fe2e326f9a413d85a49402f5a9.tar.gz
cache escaped tokens, reduce HTML enc setup time
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 de6f6ea..d3b676c 100644
--- a/lib/coderay/encoders/html/output.rb
+++ b/lib/coderay/encoders/html/output.rb
@@ -24,7 +24,7 @@ module Encoders
end
def make_stylesheet css, in_tag = false # :nodoc:
- sheet = css.stylesheet
+ sheet = css.css
sheet = <<-'CSS' if in_tag
<style type="text/css">
#{sheet}