Files
pandoc/test/docx
Samuel Huang bde8c297ee Docx writer: honor CSL hanging-indent and spacing hints (#11872)
Citeproc marks CSL-generated bibliographies with a hanging-indent
class and line-spacing/entry-spacing attributes. The HTML, LaTeX,
ConTeXt, and Ms writers act on these hints; the docx writer ignored
them, so bibliographies (e.g. APA) lost their hanging indent and
line spacing in docx output.

Apply the hints as paragraph properties (`w:ind`, `w:spacing`) in the
docx writer's Div handling. Paragraph properties are now sorted with
a proper `EG_PPrBase` ordering (`pPrTagOrder`) instead of the run
property ordering, keeping w:spacing before `w:ind` as required.

Closes #11871.
2026-09-14 09:20:05 -07:00
..
…