Files
pandoc/test/docx
John MacFarlaneandClaude Opus 5.5 979c7a9779 Docx writer/reader: fix multi-paragraph list items.
Previously the docx writer gave the second and subsequent paragraphs
of a list item numbering from a separate list with an invisible
bullet.  This looked right, but semantically these paragraphs were
items of another list, which is what Word, screen readers, and
pandoc's own docx reader saw; the list was also split in three.

The writer now gives these paragraphs no numbering, just an
indentation that lines them up with the text of the list item
(as Word's "List Continue" styles do).

The docx reader now records the indentation of each list level
and tracks the open list levels; an unnumbered paragraph whose
left indentation matches the text indentation of an open level
is treated as a continuation of that level's current item,
rather than as a block quote.  So multi-paragraph list items
now round-trip through docx.

Closes #9197.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:11:04 -07:00
..
…