summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgmi2email2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmi2email b/gmi2email
index dd9edba..e58532c 100755
--- a/gmi2email
+++ b/gmi2email
@@ -263,7 +263,7 @@ sub gemtext_to_mail {
&$pad;
push @buffer, split "\n", wrap "• ", " ", $';
} elsif ($opts{inline_images}
- and my ($uri) = m{^=>\s(gemini://\S+\.(?:jpg|jpeg|png|gif))\s}) {
+ and my ($uri) = m{^=>\s*(gemini://\S+\.(?:jpg|jpeg|png|gif))}) {
&$flush;
my ($type, $data) = gemini_fetch($uri);
$msg->attach(