Add link to URLs - gophercgis - Collection of gopher CGI/DCGI for geomyidae (HTM) hg clone https://bitbucket.org/iamleot/gophercgis (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) changeset 6393aef738246dc6a8b6a789620ef84495fc5017 (DIR) parent 13f6537cd5b350e9c49f6cc3b9481ff095aca85a (HTM) Author: Leonardo Taccari <iamleot@gmail.com> Date: Mon, 17 Dec 2018 14:51:59 Add link to URLs Diffstat: mastodon/mastodon.dcgi | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- diff -r 13f6537cd5b3 -r 6393aef73824 mastodon/mastodon.dcgi --- a/mastodon/mastodon.dcgi Mon Dec 17 13:23:40 2018 +0100 +++ b/mastodon/mastodon.dcgi Mon Dec 17 14:51:59 2018 +0100 @@ -27,6 +27,7 @@ cmd = cmd " -o display_image=false" cmd = cmd " -o pseudo_inlines=false" cmd = cmd " | sed -e \"s/^/t/\"" + cmd = cmd " | sed -E -e \"s;^(t)(.*)(https?://[^ ]+)(.*)$;[h|\\2\\3\\4|URL:\\3|server|port];\"" print c | cmd close(cmd)