QDoc: Render lists and inline images in template table cells


The template generator renders a table cell as its flattened plain
text. A cell that holds a bulleted list collapses to running text, and
a cell whose content is an inline image renders empty, since an image
carries no text of its own. Links and inline code inside cells are
flattened the same way. Readers of the generated documentation lose
the structure the author wrote in the cell.

The cell renderer now walks the cell's own inline content and its
child blocks rather than printing flat text: lists render as lists,
inline images as images, and links and code keep their markup. The
intermediate representation already carried this structure; only the
templates ignored it. The unroll is bounded to the shapes that occur
in cells and mirrors the engine's existing pattern, since Inja offers
no recursion. A new fixture exercises image-only cells and lists with
embedded images across both template formats.

Task-number: QTBUG-147379
Pick-to: 6.12
Change-Id: I411c3dc5a58956567b8d55a09220b87c915edadd
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commitde1d6f8c10c4657c49f9ed78587e735071b50347
parent86baeee3d88f52eb821eb7be92382a2b9262a038
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 11 Jun 2026 04:53:51 +0000