From: Eric Wong Date: Fri, 30 Aug 2024 20:36:35 +0000 (+0000) Subject: view: fix unclosed parentheses after `raw' link X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a166548e1d6206a1d0d86ede911e6a6eeebffbd2;p=thirdparty%2Fpublic-inbox.git view: fix unclosed parentheses after `raw' link This formatting error was accidentally introduced while converting a `qq{}' concatenation to a `say' statement. Re-add the `)'. While we're at it, switch to a `print' statement since we use a string literal anyways and `say' would require an extra global variable lookup at runtime. Fixes: 18f41f5af397f903 (www: replace *eml_entry with *emit_eml, 2024-07-07) Reported-by: Konstantin Ryabitsev Tested-by: Konstantin Ryabitsev Link: https://public-inbox.org/meta/20240830-crystal-active-dingo-03bfbd@lemur/ --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index ce8fa8659..131727fc1 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -270,9 +270,9 @@ sub emit_eml ($$) { obfuscate_addrs($obfs_ibx, $from) if $obfs_ibx; my $upfx = $ctx->{-upfx}; my $mhref = $upfx . mid_href($mid_raw) . '/'; - say $zfh 'From: ', $from, ' @ ', fmt_ts($ds), qq[ UTC (permalink / raw'; + $mhref, qq[raw">raw)\n]; { my ($to, $tlen) = to_cc_html($ctx, $eml, 'To', $t); my ($cc, $clen) = to_cc_html($ctx, $eml, 'Cc', $t);