Image rendering mismatch: GitLab vs Hugo
Summary
!6807 (merged) added a markdown file debug.md
that referenced some images, also added by the same MR.
Everything renders fine in the MR view or in the source code "View file" viewer. However in Hugo, the images are 404. Apparently debug.md
renders as a path and this means the images are supposedly a directory higher up.
The main bug here is that the user will expect the images to work as they render just fine in the MR view.
Steps to reproduce
Above MR.
Example Page
What is the current bug behavior?
What is the expected correct behavior?
Images render correctly in the Handbook IFF they render correctly in GitLab.
Relevant logs and/or screenshots
Possible fixes
A workaround is using debug/_index.md
instead of debug.md
and referencing the images as ../something.png
(as in !7093 (merged)). However this is not intuitive.
Edited by Andras Horvath