Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.15
-
None
-
Unknown
-
Description
Reproduction steps
- edit a page on a GitHub backend
- insert a new image by uploading it
- observe that the image is displayed
- save and view the page
- observe that the image is displayed
Expected
The image is displayed in steps 3 and 5.
Actual
The image is only displayed in step 3, and not in step 5.
The image is also not displayed if editing again the page.
This is because, when uploading, the uploading endpoints returns the public url of the image, in the form https://raw.githubusercontent.com/USER/REPO/BRANCH/PATH?token=SOMETOKEN
But on save, something like ![[ATTACHMENT_REFERENCE]] is persisted, which is converted back to an url.
- this convertion method is not producing the right url
- the url must contain the token