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

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 1

      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.

            Assignee:
            Unassigned
            Reporter:
            Anton Shaleev (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: