docling-project / docling-project/docling-core
bug: relative asset path but no asset directory specified
Open
- Dominant language
- HTML
- Stars
- 282
- Forks
- 214
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 21
Description
https://github.com/docling-project/docling-core/blob/main/docling_core/types/doc/document.py#L4542 assumes that either:
- the path is absolute
- the path is relative and a asset directory is specified
in these cases it works
But if the artifacts_dir directory is not specified and the path is relative - then the path is prefixed with itself / duplicated
Contributor guide
Assessment
This issue has not been assessed yet.