docx icon indicating copy to clipboard operation
docx copied to clipboard

Allow zero as first level start number

Open giuscris opened this issue 5 months ago • 1 comments

This PR updates a check on firstLevelStartNumber inside numbering.ts to allow lists start with a 0 (zero) item if explicitly provided. Otherwise the logic is unchanged.

Before this PR even if you wanted a 0 item by explicitly setting 0 to the start property, it would become 1 as the first part of the conditional was evaluated as false.

I've checked and all tests pass, so I think the impact is minimal.

giuscris avatar Oct 01 '25 10:10 giuscris

Hello @dolanmiu, sorry for the mention, but is there any hope of getting this PR merged?

edoardocavazza avatar Oct 27 '25 13:10 edoardocavazza