summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-03-10 20:44:42 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2013-03-10 20:44:42 +0100
commitd6546ed69515aed6d0771b75d4b3e38438aad7d1 (patch)
treef8fd70940fbd7f112f605384afff47088b254ed5 /test
parent9e6364cd659cc26f32fc3732ed091653176ac987 (diff)
downloadcoderay-d6546ed69515aed6d0771b75d4b3e38438aad7d1.tar.gz
remove ondblclick handler from HTML output
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/examples.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/examples.rb b/test/functional/examples.rb
index ff64af3..b8e0a2a 100755
--- a/test/functional/examples.rb
+++ b/test/functional/examples.rb
@@ -22,7 +22,7 @@ end
CODE
assert_equal <<-DIV, div
<table class="CodeRay"><tr>
- <td class="line-numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre><a href="#n1" name="n1">1</a>
+ <td class="line-numbers"><pre><a href="#n1" name="n1">1</a>
<a href="#n2" name="n2">2</a>
<a href="#n3" name="n3">3</a>
</pre></td>
@@ -38,7 +38,7 @@ end
<body>
<table class="CodeRay"><tr>
- <td class="line-numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre>
+ <td class="line-numbers"><pre>
</pre></td>
<td class="code"><pre>puts <span class="string"><span class="delimiter">&quot;</span><span class="content">Hello, world!</span><span class="delimiter">&quot;</span></span></pre></td>
</tr></table>