summaryrefslogtreecommitdiff
path: root/pygments/formatters/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/formatters/html.py')
-rw-r--r--pygments/formatters/html.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py
index 782fb2c7..00723ede 100644
--- a/pygments/formatters/html.py
+++ b/pygments/formatters/html.py
@@ -260,10 +260,8 @@ class HtmlFormatter(Formatter):
for i in range(fl, fl + lncount)])
ret = div + ('<table><tr>'
- '<td class="linenos" title="click to toggle" '
- 'onclick="with (this.firstChild.style) { display = '
- '''(display == '') ? 'none' : '' }"><pre>'''
- + ls + '</pre></td><td class="code">')
+ '<td class="linenos"><pre>' +
+ ls + '</pre></td><td class="code">')
ret += outfile.getvalue()
ret += '</td></tr></table>'