Skip to content

Commit a87d035

Browse files
committed
Close #9961: html: Support nested <kbd> HTML elements in other HTML builders
1 parent 8d0fd9e commit a87d035

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Features added
2222
this behavior with the ``--respect-module-all`` switch.
2323
* #9800: extlinks: Emit warning if a hardcoded link is replaceable
2424
by an extlink, suggesting a replacement.
25+
* #9961: html: Support nested <kbd> HTML elements in other HTML builders
2526
* #9815: html theme: Wrap sidebar components in div to allow customizing their
2627
layout via CSS
2728
* #9899: py domain: Allows to specify cross-reference specifier (``.`` and

sphinx/builders/html/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class KeyboardTransform(SphinxPostTransform):
3636
x
3737
"""
3838
default_priority = 400
39-
builders = ('html',)
39+
formats = ('html',)
4040
pattern = re.compile(r'(?<=.)(-|\+|\^|\s+)(?=.)')
4141
multiwords_keys = (('caps', 'lock'),
4242
('page' 'down'),

0 commit comments

Comments
 (0)