Hello Codeberg Team,
when trying to add a logo in SVG format to the README to one of my projects here on Codeberg, I noticed that the image is not being displayed, albeit there being an img tag with the correct URL rendered.
After looking at the responses from the server, it seems that the Codeberg server returns Content-Type text/plain for SVG images, instead of image/svg+xml.
Example: lhinderberger/xeDB@9ac2454955/README.md (which loads https://codeberg.org/lhinderberger/xeDB/media/branch/master/doc/logo.svg that is being returned with Content-Type text/plain).
Thank you for providing an excellent community-driven alternative to GitHub and similar services!
EDIT: Changed URL for example, due to adding a workaround
Hello Codeberg Team,
when trying to add a logo in SVG format to the README to one of my projects here on Codeberg, I noticed that the image is not being displayed, albeit there being an img tag with the correct URL rendered.
After looking at the responses from the server, it seems that the Codeberg server returns Content-Type `text/plain` for SVG images, instead of `image/svg+xml`.
Example: https://codeberg.org/lhinderberger/xeDB/src/commit/9ac2454955d7f36656ec1f532a339f0472806c25/README.md (which loads https://codeberg.org/lhinderberger/xeDB/media/branch/master/doc/logo.svg that is being returned with Content-Type `text/plain`).
Thank you for providing an excellent community-driven alternative to GitHub and similar services!
EDIT: Changed URL for example, due to adding a workaround