You can see that the URLs are getting linked BEFORE the sourcecode shortcode is being processed. This ends up messing up the code that’s being posted. The workaround is to put a space after http so the URL isn’t auto-linked, but obviously then the code isn’t accurate.