From 3ecc8116cc06289724f9a2ccf734e99d843abc79 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 24 Apr 2007 12:26:18 +0000 Subject: Benchmark, comparison: replaced SilverCity with pygments A bit of code and documentation cleanup HTML encoder: fixed css class output for NO_HIGHLIGHT tokens when :info is set. Fixed Text encoder. --- lib/coderay/encoders/debug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders/debug.rb') diff --git a/lib/coderay/encoders/debug.rb b/lib/coderay/encoders/debug.rb index 21d4710..8e1c0f0 100644 --- a/lib/coderay/encoders/debug.rb +++ b/lib/coderay/encoders/debug.rb @@ -22,7 +22,7 @@ module Encoders if kind == :space text else - text = text.gsub(/[)\\]/, '\\\\\0') + text = text.gsub(/[)\\]/, '\\\\\0') # escape ) and \ "#{kind}(#{text})" end end -- cgit v1.2.1