Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7461

Stash Readme.md anchor tags always redirect to default branch

    XMLWordPrintable

Details

    Description

      I am creating a README.md file with an anchor tag to one of the headings . The anchor tag is rendered properly but I am facing an issue with the redirecion of the hyperlink. Whenever I click on the hyperlink, it always redirects me to the *default branch* of the repository , instead of the branch where I am currently in.

      For ex, I have this anchor tag in my README.md file

      [About](#about)

      When i click on the link, it redirects me to
      http://my.stash.server/Stash/projects/PROJ/repos/repo/browse/README.md#about?at=refs%2Fheads%2Fbranch

      Even though the link has the words at=refs%2Fheads%2Fbranch in it, the redirection always ends up in the default branch , which is master

      is there anything that can be done in the markdown syntax so that it redirects to the current branch instead of master ?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              58b44a7fb4a3 Biswajit Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: