docling-project / docling-project/docling
fix regression: current docling version fails for specific pdf while earlier version works
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
### Bug
I'm trying to convert a PDF to Markdown format. Docling version 2.2.0 works as expected, but the latest version, 2.15.1, does not. The newer version only outputs image tags, whereas version 2.2.0 correctly includes both text and image tags in the output.
### Steps to reproduce
```python
from docling.document_converter import DocumentConverter
source = "..."
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown())
```
Here's the PDF that didn't work for me: https://github.com/NVIDIA-AI-Blueprints/pdf-to-podcast/blob/main/samples/investorpres-main.pdf
### Docling version
2.15.1
### Python version
3.12.2
Contributor guide
Assessment
This issue has not been assessed yet.