docling-project / docling-project/docling

Markdown parsing

Open
#1,837 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.