From 90cf0323db24d5fe2e326f9a413d85a49402f5a9 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sat, 31 Aug 2013 16:09:34 +0200 Subject: cache escaped tokens, reduce HTML enc setup time --- lib/coderay/encoders/html/output.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders/html/output.rb') 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