Permalink
Browse files

Fix crash in old code blocks

  • Loading branch information...
1 parent cb3554f commit e7dfbcb1c69add8ed13c7d10dcd512bf45544950 @vmg vmg committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/github/commands/rest2html
@@ -38,7 +38,7 @@ class GitHubHTMLTranslator(HTMLTranslator):
del classes[:]
self.body.append(self.starttag(node, 'pre', lang=language))
else:
- super(self, node)
+ self.body.append(self.starttag(node, 'pre'))
def main():
"""

0 comments on commit e7dfbcb

Please sign in to comment.