1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #8745 resolved

An image with a link in a pull request description will not open (BB-9861)

Jake Bishop
created an issue

If i add an image with a link using markdown to a pull request it gets wrapped with another link that goes to the image. Therefore i can never click an image in the description to be directed to the given link.

E.g. using the markdown:


it creates the following html:

<a href="http://google.com">
<a class="image-link" href="http://f.cl.ly/items/3f1d162q1I3J172J141N/test.png" rel="pr-image" target="_blank" data-fancybox-type="image">
<img alt="screenshot" src="http://f.cl.ly/items/3f1d162q1I3J172J141N/test.png">

If i click the image i expect to be sent to http://google.com but i am sent to http://f.cl.ly/items/3f1d162q1I3J172J141N/test.png

Comments (3)

  1. Michael Frankenholtz staff

    Hi Jake,

    This is because of the lightbox plugin we use to link to a larger version of the image within the same page. I've added a ticket to our internal tracker to figure out how we can improve this. We'll post any updates to this issue.


  2. Log in to comment