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 : // something.py
instead of https : //github.com
What did you expect to happen:
I expected to go to the URL (github.com) instead of the anchor (something.py). 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:
[something.py]
[something.ht]
[something.za]
but the following anchors correctly send me to github:
[something.pyc]
[something.html]
[something.zb]
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. To clarify, this is happening when I use the markdown syntax like:
[something.py](some url)