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

Using an "@" symbol in markdown link labels renders links with wrong title and text

XMLWordPrintable

      Summary

      When using XPath expressions as Markdown link labels, the result is not rendered as expected.

      Steps to reproduce

      1. Create a markdown file with link labels
        [application/@bitbucket] and [telecom/@phone]
        
        [application/@bitbucket]: http://example.org/bitbucket "@bbserver"
        [telecom/@phone]: http://example.org/phone "@samsung"
        
      2. View the source of the *.md file from the browser debug tool

      Expected Result

      <p><a href="http://example.org/bitbucket" title="@bbserver">application/@bitbucket</a> and 
      <a href="http://example.org/phone" title="@samsung">telecom/@phone</a></p>
      

      Actual Result

      <p><a href="http://example.org/bitbucket" title="@bitbucket">application/@phone</a> and 
      <a href="http://example.org/phone" title="@bitbucket">telecom/@bbserver</a></p>
      

      Workaround

      [application/@bitbucket][application bitbucket]  and  [telecom/@phone][telecom phone]
      
      [application bitbucket]:  http://example.org/bitbucket 
      [telecom phone]:  http://example.org/phone 
      

              Unassigned Unassigned
              voseghale VICTOR-OSEGHALE (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: