Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
1a29fc1
fix: do not number an empty paragraph that only holds a section break
qued Oct 8, 2026
7059469
fix: do not treat numbered headings as list items
qued Oct 8, 2026
4e04b7b
fix: label numbered headings without making them list items
qued Oct 8, 2026
49e3481
perf: cache the style outline-level lookup per style
qued Oct 8, 2026
c10731d
fix: treat a directly numbered heading as a heading, not a list item
qued Oct 9, 2026
7fecd1d
docs: bring docstrings in line with the numbering behavior
qued Oct 9, 2026
88c5712
perf: look up each paragraph style once per style id
qued Oct 9, 2026
662a2de
test: cover title styles, outline-level bounds, text-parsed labels an…
qued Oct 9, 2026
01f9427
fix: keep a list style from turning a numbered heading back into a li…
qued Oct 19, 2026
bfb4403
perf: resolve a style chain's outline level once for every style on it
qued Oct 19, 2026
db76f26
perf: check a style chain for cycles in constant time
qued Oct 19, 2026
79e3ec0
fix: count a section-break paragraph that holds a drawing, object, fi…
qued Oct 19, 2026
2536aaa
fix: count a section-break paragraph that holds whitespace text
qued Oct 19, 2026
cbdc7d6
fix: label a numbered paragraph once, keep heading depth, and tolerat…
qued Oct 20, 2026
45a2cbb
fix: tolerate numbering-style parents when labeling and keep Heading …
qued Oct 20, 2026
9000032
fix: count a section-break paragraph whose text is inside a content c…
qued Oct 20, 2026
84d28ea
style: wrap the section-break content XPath
qued Oct 20, 2026
603eff5
fix: count a section-break paragraph that holds only a carriage retur…
qued Oct 20, 2026
6ad9fde
fix: treat a section-break paragraph as empty only when it holds no c…
qued Oct 20, 2026
f56b3bb
test: use a run-level field marker in the section-break content cases
qued Oct 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.27.31

### Fixes

- **Label numbered headings and keep them out of list items; stop numbering section-break paragraphs.** A numbered paragraph of any element type now carries its label in the text, a numbered heading is no longer classified as a `ListItem` whether its number comes from its style or its own formatting, and an empty paragraph that only holds a section break no longer consumes a list number. A numbered paragraph with a heading outline level (0 to 8) counts as a heading even when it is body text, such as a numbered clause, so it is no longer a `ListItem`.

## 0.27.30

### Fixes
Expand Down
Loading
Loading