Skip to content

<kbd> tag gets rewritten as <code> #11209

@JVApen

Description

@JVApen

Describe the bug
The <kbd> tag is intended to indicate a keyboard key, however, when used in doxygen, it gets converted into <code> instead.

Screenshots
image
image

To Reproduce

/*!
<kbd>Ctlr</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>
*/

Expected behavior
I expect this to be rendered similarly to what you can see on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
aka: Ctlr+Shift+P

Version
1.9.8 (c2fe5c3)

Additional context
https://www.doxygen.nl/manual/htmlcmds.html Unfortunately describes this tag as Starts and ends a piece of text displayed in a typewriter font.
Strangely enough, the standard doxygen css does contain formatting for <kbd>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions