Skip to content

Commit 2133af6

Browse files
fix: multimodal output (#96)
Signed-off-by: Peter Staar <[email protected]>
1 parent 1f6c4ac commit 2133af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docling_core/types/doc/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ def export_to_markdown(
798798

799799
if img is not None:
800800
imgb64 = self._image_to_base64(img)
801-
text = f"\n![Image]({imgb64})\n"
801+
text = f"\n![Image](data:image/png;base64,{imgb64})\n"
802802

803803
return text
804804
else:

0 commit comments

Comments
 (0)