diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-08-31 16:09:34 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-08-31 16:09:34 +0200 |
commit | 90cf0323db24d5fe2e326f9a413d85a49402f5a9 (patch) | |
tree | ff7062a85cb5bdd3504391cbd905bb8f0809afa6 /lib/coderay/encoders/html/output.rb | |
parent | 718c0ac901eef189a1dad36f57a78f36d9d0ba11 (diff) | |
download | coderay-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.rb | 2 |
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} |