Stash Readme.md anchor tags always redirect to default branch

XMLWordPrintable

      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 ?

            Assignee:
            Unassigned
            Reporter:
            Biswajit Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: