QDoc: Preserve newlines between catalog compact-list items in Markdown


Catalog pages rendered as compact bullet lists ship as a single
line of concatenated bullet items rather than one item per line.
The template engine's whitespace handling strips the newline
that follows each iteration of the list loop, so a compact
catalog of three classes arrives in the rendered Markdown glued
onto one line. Markdown viewers cope, but the output reads as a
layout glitch.

The catalog list branch now uses the same explicit-newline
idiom the rest of the Markdown templates already adopt for
whitespace adjacent to block tags. Compact catalog lists render
one item per line, matching the layout the template authors
meant.

Task-number: QTBUG-146603
Change-Id: Ia505610e37c73f4a71b988adbb3ed983c0c32ed5
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit3f2bd32bedb01ebd17e4449e8fd1c8ef391e3313
parent24b37af36a48a97a749143aa2b81087a4f6a84c2
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 7 May 2026 09:20:52 +0000