summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-01-25 19:40:42 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-01-25 19:40:42 -0700
commitf43a42a8c5687057ff28e884863d7a5a877837f3 (patch)
treea6af166b75161f852d4914c95da4bd3552038ff0
parent3872d4850ca9ade0eccc8c7054b6459a1d00b25f (diff)
downloadmailscripts-f43a42a8c5687057ff28e884863d7a5a877837f3.tar.gz
gmi2email: drop superfluous chomp
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-xgmi2email2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmi2email b/gmi2email
index cae0767..5b8ba4a 100755
--- a/gmi2email
+++ b/gmi2email
@@ -120,7 +120,7 @@ foreach my $sub (<$subs_fh>) {
if ($type =~ m{^text/gemini}) {
for (@$data) {
if (/^#\s*/ and not $gemlog) {
- chomp($gemlog = $');
+ $gemlog = $';
} elsif (my ($uri, $y, $m, $d, $title)
= /^=>\s*(\S+)\s+([0-9]{4})-([0-9]{2})-([0-9]{2})[\s-]*(.*)/) {
send_subscribed_gemtext($uri, $gemlog // "unknown gemlog",