When adding a hyperlink to an image via markdown in a pull request description or comment, instead of navigating to the intended hyperlink the user is instead brought to a presentation view of the original image. It is expected that the hyperlink associated with an image should be given priority over navigating to the presentation view for the actual image within the application.
- Navigate to the pull request creation screen
- For the pull request description, place the following comment:
- Submit the pull request
The pull request description contains an image of the Atlassian logo that, when clicked, navigates the user to https://atlassian.com.
The pull request description contains an image of the Atlassian logo that, when clicked, takes the user to a slideshow/presentation view of the Atlassian logo.
This same behavior can also be seen when submitting a comment with the same markdown in the new pull request experience:
This behavior work as expected when using the same markdown in a readme.md file, and then clicking on the image in the readme preview for the repository
It is recommended to submit any intended hyperlinks as a set of hyperlinked text underneath the image in question using the following format: