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

Anchor links in markdown include a slash that causes them to work inconsistently

      The link markdown creates an extra slash in the URL if just an anchor is used. This causes the anchor link not to jump to the appropriate anchor on the page until it's clicked a second time. The behavior is also different from how Bitbucket markdown creates the link.

      Stash

      [connect](#connect)

      Produces:
      http://SERVER:7990/projects/PROJ/repos/REPO/browse/#connect

      The resulting link should be:

      http://SERVER:7990/projects/PROJ/repos/REPO/browse#connect

      Bitbucket

      [connect](#connect)

      Produces:
      https://bitbucket.org/USERNAME/REPO/overview#connect

      Workaround

      [connect](../browse#connect)

            [BSERV-5292] Anchor links in markdown include a slash that causes them to work inconsistently

            This was fixed with the changes for BSERV-7260 for Stash 3.11+.

            Robin Stocker (Inactive) added a comment - This was fixed with the changes for BSERV-7260 for Stash 3.11+.

              Unassigned Unassigned
              jethomas Jeff Thomas
              Affected customers:
              4 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: