Bitbucket links regex matches on HTML Symbol Entities

XMLWordPrintable

    • 32

      A common Bitbucket link is linking to issues in an issue tracker. A common way to reference an issue is using #<issue number>.

      When setting up this type of link in bitbucket using the regex #([0-9]+), it also matches the # character in some HTML Symbol Entities erroneously.

      E.g a commit with following message:

      Does foo to 'bar'. Fixes BCLOUD-123.

      results in:

      Does foo to &[#39|https:somissuetracker.io/39];bar&[#39|https:somissuetracker.io/39];. Fixes [#123|https:somissuetracker.io/123].

      while I expect:

      Does foo to 'bar'. Fixes [#123|https:somissuetracker.io/123].

              Assignee:
              Unassigned
              Reporter:
              Seppe Stas
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: