mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-29 10:55:40 +00:00
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.