mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-04 18:33:32 -05:00
Merge pull request #8719 from tk0miya/8714_kbd_capslock
Fix #8714: html: kbd role with "Caps Lock" rendered incorrectly
This commit is contained in:
@@ -284,6 +284,13 @@ def get_verifier(verify, verify_re):
|
||||
'<p><kbd class="kbd docutils literal notranslate">-</kbd></p>',
|
||||
'\\sphinxkeyboard{\\sphinxupquote{\\sphinxhyphen{}}}',
|
||||
),
|
||||
(
|
||||
# kbd role
|
||||
'verify',
|
||||
':kbd:`Caps Lock`',
|
||||
'<p><kbd class="kbd docutils literal notranslate">Caps Lock</kbd></p>',
|
||||
'\\sphinxkeyboard{\\sphinxupquote{Caps Lock}}',
|
||||
),
|
||||
(
|
||||
# non-interpolation of dashes in option role
|
||||
'verify_re',
|
||||
|
||||
Reference in New Issue
Block a user