docling-project / docling-project/docling-core

bug: relative asset path but no asset directory specified

Open
#362 2 comments 0 reactions 1 assignee Claimed by @geoHeil View on GitHub
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

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.