QDoc: Render paragraph attributes in HTML templates


Block-level images produce a Paragraph IR block with a centerAlign
class attribute, but the HTML templates render all paragraphs as
bare <p> tags. Without attribute passthrough, block-level images
lose their centering and can't be distinguished from inline content.

Paragraphs in both content_blocks.html and member_detail.html now
check for block-level attributes and render them on the <p> tag.
This gives block-level images their <p class="centerAlign"> wrapper,
matching HtmlGenerator's established output.

Task-number: QTBUG-145122
Change-Id: Ic9d70ee66480ab7bdfc36ac68d8e696816ebd312
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit3e9330ba4b77073fc5a61389e536799f6bd48f25
parent57cbddc90539bdfb776451695734b14a14e94314
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 25 Mar 2026 13:20:04 +0100