Skip to content

Commit

Permalink
Merge pull request github#1082 from tony/patch-1
Browse files Browse the repository at this point in the history
Tweak param signature for kbd role
  • Loading branch information
Yuki Izumi authored Jul 31, 2017
2 parents a7b988a + 2a9e03b commit 793148b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/github/commands/rest2html
Original file line number Diff line number Diff line change
Expand Up @@ -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('', '<kbd>%s</kbd>' % text, format='html')], []


Expand Down

0 comments on commit 793148b

Please sign in to comment.