QDoc: Stop highlighting \badcode as C++


The template generator assumes every \badcode block is C++ and renders
them with C++ syntax highlighting. This produces misleading colouring
that suggests a language the snippet was never written in.

For \badcode, no language needs to be assumed. This change ensures that
QDoc emits these blocks as plain text. Tests are updated accordingly.

Change-Id: I6481b9515336e381bc7039babdf6dc6305795031
Reviewed-by: David Boddie <david.boddie@qt.io>
commit1dc00ea329e3ca13eff196d1719b290f5d2a8fd0
parent6a8af3d8a23bb27643f8473aabdc553dc2f0a611
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeTue, 21 Jul 2026 10:10:33 +0000