mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
removed prints
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
parent
7332360e27
commit
3e490c4184
@ -136,8 +136,6 @@ class HTMLDocumentBackend(DeclarativeDocumentBackend):
|
||||
def get_direct_text(self, item):
|
||||
"""Get the direct text of the <li> element (ignoring nested lists)."""
|
||||
text = item.find(string=True, recursive=False)
|
||||
print(text)
|
||||
|
||||
if isinstance(text, str):
|
||||
return text.strip()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user