log/gogs.log): N/AEmbedding SVG images in a repo's README.md does nor work. Instead of the image, the alt text is displayed in the browser (both Firefox and Chromium).
See the test case at try.gogs.io.
The generated HTML is fine. The problem stems from the fact that Gogs serves the SVG file with the HTTP header
Content-Type: text/plain; charset=utf-8
whereas the correct type is image/svg+xml.
The issue had been previously reported on the Gitea bug tracker.
Most helpful comment
The issue had been previously reported on the Gitea bug tracker.