1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #7889 open

Disabling Auto-hyperlink of long numbers (BB-9049)

Clement Law
created an issue

Hello,

I'm using restructuredText in my wiki. I was wondering if it was possible to disable/choose whether a long number is automatically turned into a hyperlink to a commit version.

Thanks

Comments (7)

  1. Zach Steele

    The renderer is converting long numbers embedded in email addresses into commit links, even though it does create the correct hyperlink for the email address. For example:

    zach.steele+20140313a@brighter.com
    

    generates a mailto link from "zach.steele+" with the full email address, converts "20140313a" into a link to a nonexistent commit, and leaves

    "@brighter.com"
    

    as plain text.

    Also, I tried to use double-backticks (``) to wrap the email address as a literal - in that case the hyperlink is not generated, but the renderer then generates hyperlinks both for the commit and user

    "@brighter"
    
  2. Mike Thomson

    This has not been resolved. Is there a workaround for this? It is really annoying that long numbers in my README.md automatically turn into links for non-existent revisions.

  3. Log in to comment