mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-09 13:18:24 +00:00
Improve numbered list detection for msword docs
This fixes the list detection in MSWord docs by properly tracking and counting the list entries. It fixes https://github.com/docling-project/docling/issues/2090
This commit is contained in:
@@ -18,9 +18,9 @@ To get started with swimming, first lay down in a water and try not to drown:
|
||||
|
||||
Also, don’t forget:
|
||||
|
||||
- Wear sunglasses
|
||||
- Don’t forget to drink water
|
||||
- Use sun cream
|
||||
1. Wear sunglasses
|
||||
2. Don’t forget to drink water
|
||||
3. Use sun cream
|
||||
|
||||
Hmm, what else…
|
||||
|
||||
@@ -40,6 +40,6 @@ Here are some interesting things a respectful duck could eat:
|
||||
|
||||
And let’s add another list in the end:
|
||||
|
||||
- Leaves
|
||||
- Berries
|
||||
- Grain
|
||||
1. Leaves
|
||||
2. Berries
|
||||
3. Grain
|
||||
Reference in New Issue
Block a user