diff --git a/lib/github/commands/rest2html b/lib/github/commands/rest2html index ed6507f5..0efea607 100755 --- a/lib/github/commands/rest2html +++ b/lib/github/commands/rest2html @@ -230,8 +230,7 @@ class GitHubHTMLTranslator(HTMLTranslator): HTMLTranslator.depart_image(self, node) -def kbd(name, rawtext, text, lineno, inliner, options=None, content=None): - +def kbd(name, rawtext, text, lineno, inliner, options={}, content=[]): return [nodes.raw('', '%s' % text, format='html')], []