You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the resource is an image, this line is fine. body_with_attachment = f"{note.body}\n![{resource.title}](:/{resource_id})"
Otherwise, we should not include the exclamation mark, i.e. it should be body_with_attachment = f"{note.body}\n[{resource.title}](:/{resource_id})"
as in the case of adding a PDF resource.
The inclusion exclamation mark for non-images makes the resource unable to render.
The text was updated successfully, but these errors were encountered:
Please see here
https://github.com/marph91/joppy/blob/cc3d1f4d0c3b6fea08b8e8ed76c44eac2c512a45/joppy/api.py#L338C9-L338C9
If the resource is an image, this line is fine.
body_with_attachment = f"{note.body}\n![{resource.title}](:/{resource_id})"
Otherwise, we should not include the exclamation mark, i.e. it should be
body_with_attachment = f"{note.body}\n[{resource.title}](:/{resource_id})"
as in the case of adding a PDF resource.
The inclusion exclamation mark for non-images makes the resource unable to render.
The text was updated successfully, but these errors were encountered: