We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log/gogs.log
Embedding 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).
README.md
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.
image/svg+xml
The text was updated successfully, but these errors were encountered:
The issue had been previously reported on the Gitea bug tracker.
Sorry, something went wrong.
No branches or pull requests
log/gogs.log
): N/ADescription
Embedding 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
whereas the correct type is
image/svg+xml
.The text was updated successfully, but these errors were encountered: