diff --git a/backend/services/docling_service.py b/backend/services/docling_service.py index 7a63bf3..f8919c7 100644 --- a/backend/services/docling_service.py +++ b/backend/services/docling_service.py @@ -82,7 +82,7 @@ def _parse_pdf_with_pymupdf(file_path: str) -> str: parts = [] with fitz.open(file_path) as doc: for page_num, page in enumerate(doc, 1): - text = page.get_text("markdown").strip() + text = page.get_text("text").strip() if text: parts.append(f"## Page {page_num}\n\n{text}")