-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
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
Non-SVG image links don't link to intended website #4569
Comments
I can confirm this issue still affects 1.5.1. Markdown content like |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Seems down, so I can't check.
Description
When embedding an image with a link like this
[![test](https://img.shields.io/badge/test-yes-green.svg)](https://example.org)
in a markdown file in Gitea, it correctly shows as the image and links to the intended website.
Though when the linked image is not an svg, like this
[![test](https://img.shields.io/badge/test-no-red.png)](https://example.org)
it doesn't link to the intended website, but only to the image itself.
You can see it here: https://git.eisfunke.com/Eisfunke/test/src/branch/master/README.md
On Github it works: https://github.com/Eisfunke/test/blob/master/README.md
The text was updated successfully, but these errors were encountered: