summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgmi2email1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmi2email b/gmi2email
index ed0fb28..1015328 100755
--- a/gmi2email
+++ b/gmi2email
@@ -211,6 +211,7 @@ sub gemini_fetch {
if ($meta =~ "^text/gemini") {
my @lines;
if ($opts{abs_links}) {
+ $path =~ s{^/}{};
$authority =~ m{/$} or $authority .= "/";
$path =~ m{/$} or $path .= "/";
for (<$cl>) {