Skip to content

bug: relative asset path but no asset directory specified #362

@geoHeil

Description

@geoHeil

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions