Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
3.1.3
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
- duplicates
-
BSERV-7260 Anchor links in markdown broken when not on the default branch
- Closed