mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
fix: Improve numbered list detection for msword docs (#2100)
* 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
* DCO Remediation Commit for Nikhil Verma <nikhilgotmail@gmail.com>
I, Nikhil Verma <nikhilgotmail@gmail.com>, hereby add my Signed-off-by to this commit: 509da6658e
Signed-off-by: Nikhil Verma <nikhilgotmail@gmail.com>
---------
Signed-off-by: Nikhil Verma <nikhilgotmail@gmail.com>
This commit is contained in:
@@ -12,9 +12,9 @@ Paragraph 2.1.2
|
||||
|
||||
#### Test 2:
|
||||
|
||||
- List item a
|
||||
- List item b
|
||||
- List item c
|
||||
1. List item a
|
||||
2. List item b
|
||||
3. List item c
|
||||
|
||||
#### Test 3:
|
||||
|
||||
|
||||
@@ -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