mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
fix(html): handle nested empty lists (#1154)
Some checks failed
Run Docs CD / build-deploy-docs (push) Failing after 1m20s
Run Docs CI / build-docs (push) Failing after 49s
Some checks failed
Run Docs CD / build-deploy-docs (push) Failing after 1m20s
Run Docs CI / build-docs (push) Failing after 49s
Address the case of nested lists in empty list items. Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
0945973b79
commit
f94da44ec5
40
tests/data/html/example_07.html
Normal file
40
tests/data/html/example_07.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<html>
|
||||
<body>
|
||||
<ul>
|
||||
<li>Asia
|
||||
<ul>
|
||||
<li>China</li>
|
||||
<li>Japan</li>
|
||||
<li>Thailand</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Europe
|
||||
<ul>
|
||||
<li>UK</li>
|
||||
<li>Germany</li>
|
||||
<li>Switzerland
|
||||
<ul>
|
||||
<li style="list-style-type: none;">
|
||||
<ul>
|
||||
<li>Bern</li>
|
||||
<li>Aargau</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Italy
|
||||
<ul>
|
||||
<li style="list-style-type: none;">
|
||||
<ul>
|
||||
<li>Piedmont</li>
|
||||
<li>Liguria</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Africa</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user