docling-project / docling-project/docling
Markdown parsing
Open
bug
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
When parsing markdown, some times, elements are missing. For example, when parsing:
```- **Capital social**: 1 000,00 Euros```
docling returns only: ```- Capital social```
A simple solution for this case, would be to replace line 253:
```
snippet_text = str(first_child.children[0].children) # type: ignore
```
By this:
```
snippet_text = marko.md_renderer.MarkdownRenderer().render(first_child).strip() # type: ignore
```
Contributor guide
Assessment
This issue has not been assessed yet.