Commits

Anonymous committed f569e02

[svn] this commit removes the javascript toggle functionality from the html formatter. I'm not sure if this is a good idea, maybe we should make that configurable in a formatter option but i think nobody would use it.

  • Participants
  • Parent commits 0caf9be
  • Branches trunk

Comments (0)

Files changed (1)

pygments/formatters/html.py

                                 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>'