Using a different protocol in shortcodes

Hi I am still on Hugo 0.40 and wondering if I can render a torrent magnet link in a shortcode. right now when I use the {{ .Get url }} function, it changes the rendered link to: “http://site-name/site-path/#ZgotmplZ”

I’m not sure if it is present on v0.40 (I’m guessing it is), but check the docs for the safeURL function.

I think safeURL is only in the GoldMark spec. 0.40 is before. Someone correct me if I am wrong. I couldn’t find a reference to it in the previous spec.

I just checked the release notes. The safeURL function has been around since v0.14, probably earlier. It is not related Markdown rendering; it is related to the Go html/template package.

ok. Thanks for the correction.