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

JIRA smart links and commitid overwritten with links even it's a part of another markdown object

XMLWordPrintable

      Summary

      Smart commit in Bitbucket server overwrite all the occurrences of JIRA-keys and commitids even inside another markdown tages.

      Steps to Reproduce

      1. Create .md file and add to the the repository
      2. Edit the content of the file with Bitbucket Editor or with standalone editor in a local copy
      3. Commit the changes
      4. Open the file in a source viewer in Bitbucket Server

      Expected Results

      The following HTML is generated:

      <p>See <a href="http://example.org/" title="[ISSUE-1] Description">linkref</a>.</p>
      

      Actual Results

      The following HTML is generated:

      <p>See <a href="http://example.org/" title="[<a class="markup-issues-trigger" data-issue-keys="ISSUE-1" data-initial-issue-key="ISSUE-1" data-single-issue="true" href="https://jira:8443/browse/ISSUE-1">ISSUE-1</a>] Description">linkref</a>.</p>
       

      The same thing works with commit ID.

      Workaround

      No workaround currently available.

            Unassigned Unassigned
            ashaleev Anton Shaleev
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: