Thank you for reporting this @stevenmatison .
I tested this out and was able to recreate the issue. I pasted in one of your URLS (http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.3.0/ambari.repo) into an article a few ways to see how they would be saved.
It appears that when added to the article without using the insert/edit code function the text becomes hyperlinked as expected. However when using the function it is converted into HTML. I'll need to investigate further on what is causing this.
In the meantime, a work around would be to select preformatted text style instead of insert/edit code.

This would give you the appearance of the code box without the conversion of links to HTML.