Docling/tests/data/html/example_07.html
Cesar Berrospi Ramis f94da44ec5
fix(html): handle nested empty lists (#1154)
Address the case of nested lists in empty list items.

Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
2025-03-13 16:56:58 +01:00

40 lines
1.2 KiB
HTML
Vendored

<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>