Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7dfbcb

Browse files
committed
Fix crash in old code blocks
1 parent cb3554f commit e7dfbcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/github/commands/rest2html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GitHubHTMLTranslator(HTMLTranslator):
3838
del classes[:]
3939
self.body.append(self.starttag(node, 'pre', lang=language))
4040
else:
41-
super(self, node)
41+
self.body.append(self.starttag(node, 'pre'))
4242

4343
def main():
4444
"""

0 commit comments

Comments
 (0)