diff options
author | murphy <murphy@rubychan.de> | 2011-07-04 00:38:27 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2011-07-04 00:38:27 +0000 |
commit | 6a52b213edf1f146fb72a055466a35fe219e5a0d (patch) | |
tree | 2f0b49ff6ecbce2b24fc56d7eb9a2a883136bc5a /lib/coderay/encoders/html/output.rb | |
parent | 498df2b7654c210c8f47e2757efc33cd94689b57 (diff) | |
download | coderay-6a52b213edf1f146fb72a055466a35fe219e5a0d.tar.gz |
cleanups: Page encoder is default for HTML, benchmark KB/s instead of tokens/s
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 5aa80a7..004351b 100644 --- a/lib/coderay/encoders/html/output.rb +++ b/lib/coderay/encoders/html/output.rb @@ -126,7 +126,7 @@ module Encoders TABLE = Template.new <<-TABLE <table class="CodeRay"><tr> <td class="line_numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre><%LINE_NUMBERS%></pre></td> - <td class="code"><pre ondblclick="with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }"><%CONTENT%></pre></td> + <td class="code"><pre><%CONTENT%></pre></td> </tr></table> TABLE |