Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22976

An image with a link in a pull request description will not open

XMLWordPrintable

      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:

      #!markdown
      
      [![screenshot](http://f.cl.ly/items/3f1d162q1I3J172J141N/test.png)](http://google.com)
      

      it creates the following html:

      #!html
      
      <p>
      <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">
      </a>
      </a>
      </p>
      

      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

              Unassigned Unassigned
              a3002c6cc185 Swetha Boyapati
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: