This is an issue I noticed with markdown on Github.com. I do not know if it is also an upstream issue. I also opened a discussion in the GitHub community.
Description
Markdown links in repositories, issues, discussions, and other locations don't link to the correct location when the the link is around an image hosted on GitHub, for example when pasted into the input box to get a https://github.com/.../.../assets/... url.
Note, most other images do work including GitHub asset urls such as https://github.com/DenverCoder1.png.
Example 1 - :heavy_check_mark: Working
This example correctly links to https://github.com/DenverCoder1 when clicked and displays the image properly.
This example should also link to https://github.com/DenverCoder1 but instead it goes to https://github.com/community/community/assets/20955511/22851a85-cfb8-4816-b6e5-f2044f2b06ab.
This is an issue I noticed with markdown on Github.com. I do not know if it is also an upstream issue. I also opened a discussion in the GitHub community.
Description
Markdown links in repositories, issues, discussions, and other locations don't link to the correct location when the the link is around an image hosted on GitHub, for example when pasted into the input box to get a
https://github.com/.../.../assets/...
url.Note, most other images do work including GitHub asset urls such as
https://github.com/DenverCoder1.png
.Example 1 - :heavy_check_mark: Working
This example correctly links to
https://github.com/DenverCoder1
when clicked and displays the image properly.Markdown
Preview
Output
Example 2 - :x: Not working
This example should also link to
https://github.com/DenverCoder1
but instead it goes tohttps://github.com/community/community/assets/20955511/22851a85-cfb8-4816-b6e5-f2044f2b06ab
.Markdown
Preview
Expected output
Actual ouput