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

Last parenthesis in URL does not work when it is last character

      screenshot 1 markdown:

      его нет, а должен быть. http://en.wikipedia.org/wiki/Shebang_(Unix)
      

      In this scenario, last parenthesis will not be a part of resulting clickable URL, but should!. But:

      screenshot 2 markdown:

      его нет, а должен быть. http://en.wikipedia.org/wiki/Shebang_(Unix))
      

      Here, everything is OK.

        1. sh1.png
          sh1.png
          17 kB
        2. sh2.png
          sh2.png
          18 kB

            [BSERV-5114] Last parenthesis in URL does not work when it is last character

            Fixed for Bitbucket Server 4.1 with the new CommonMark implementation (see BSERV-5211).

            Some examples of text and the link that is recognized:

            http://example.com. → http://example.com
            http://example.com, → http://example.com
            (http://example.com) → http://example.com
            (... (see http://example.com)) → http://example.com
            https://en.wikipedia.org/wiki/Link_(The_Legend_of_Zelda) →
            https://en.wikipedia.org/wiki/Link_(The_Legend_of_Zelda)
            

            Robin Stocker (Inactive) added a comment - Fixed for Bitbucket Server 4.1 with the new CommonMark implementation (see BSERV-5211 ). Some examples of text and the link that is recognized: http://example.com. → http://example.com http://example.com, → http://example.com (http://example.com) → http://example.com (... (see http://example.com)) → http://example.com https://en.wikipedia.org/wiki/Link_(The_Legend_of_Zelda) → https://en.wikipedia.org/wiki/Link_(The_Legend_of_Zelda)

              rstocker Robin Stocker (Inactive)
              5fe6bb4de755 Коренберг Марк
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: