Non-http(s) urls in posts not hyperlinking properly

We are trying to use the applescript URL scheme for code blocks in our Discourse forum and a solution for this issue would be very helpful.