QDoc: render template teletype as <code>
The Template Generator's HTML partials renders QDoc's `\tt` command
as `<tt>`, an element HTML5 removed. The same partials render `\c`
as `<code>`, so the two commands produces structurally different
output for visually similar text.
This change makes QDoc render Teletype with the same `<code>` element
the partials use for Code.
Pick-to: 6.12
Change-Id: I6311dd8067ffcc8dcb5ef05354929fb9f393fbba
Reviewed-by: David Boddie <david.boddie@qt.io>
| commit | 4a0c2e621e39987f008358fc98d5d95aac06ceff |
| parent | d140f2c07e33c5ab7750bb885847dced699bf9cf |
| author | Paul Wicking <paul.wicking@qt.io> |
| committer | Paul Wicking <paul.wicking@qt.io> |
| commit time | Mon, 12 Oct 2026 15:43:25 +0000 |
- M src/qdoc/qdoc/src/qdoc/templates/partials/html/content_blocks.html
- M src/qdoc/qdoc/src/qdoc/templates/partials/html/member_detail.html
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/inline_teletype/expected/html/inlineteletype.html
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/inline_teletype/expected/html/qdoc-default.css
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/inline_teletype/expected/inline-teletype-test.index
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/inline_teletype/expected/markdown/inlineteletype.md
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/inline_teletype/inline_teletype.qdocconf
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/inline_teletype/src/inlineteletype.qdoc