fix extra space within bold segment for keybindings

develop
myk002 2022-07-15 15:45:03 -07:00
parent 9b340a7630
commit 585f6aad33
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 1 deletions

@ -69,7 +69,8 @@ def dfhack_keybind_role_func(role, rawtext, text, lineno, inliner,
for cmd, key, ctx in KEYBINDS[text]: for cmd, key, ctx in KEYBINDS[text]:
n = nodes.paragraph() n = nodes.paragraph()
newnode += n newnode += n
n += nodes.strong('Keybinding: ', 'Keybinding: ') n += nodes.strong('Keybinding:', 'Keybinding:')
n += nodes.inline(' ', ' ')
for k in key: for k in key:
n += nodes.inline(k, k, classes=['kbd']) n += nodes.inline(k, k, classes=['kbd'])
if cmd != text: if cmd != text: