Links prioritize the anchor over the URL in some cases

Testing version:
Version 2.0 (11015)

What were you doing:
Creating a link to github for a file with a .py extension

What feature did you use:
I used the “link” markdown syntax to create a link to a python file

What happened:
The markdown was created normally (it looks correct in the document and is correct when I copy/paste it out of the document), but clicking on the link took me to https : // instead of https : //

What did you expect to happen:
I expected to go to the URL ( instead of the anchor ( I experimented with different anchor text and I think this happens whenever the file extension matches a country code. So the following anchors all cause the error:


but the following anchors correctly send me to github:


Apologies for not being able to fully write out the link syntax I actually put into the document: the forum is rejecting my post if it has more than 2 urls included in the body of my message. :frowning: To clarify, this is happening when I use the markdown syntax like:

[](some url)

Yes, you are 100% right in this case the editor is prioritizing the link label on click/tap because the label itself is a valid URL. We’ll work on a fix as soon as possible.

Thanks for reporting this. Good Catch!

This is resolved as of build 11164. Thank you!

1 Like