diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-10 14:56:47 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-10 14:56:47 +0200 |
commit | 93143f534ff971c8702c3f95a04a3f8e89d19cd5 (patch) | |
tree | a1e21b625539aff513de569289f64f77189a4e86 | |
parent | ab494bed6040a91102e58684441319ef718277da (diff) | |
download | perlisdead-93143f534ff971c8702c3f95a04a3f8e89d19cd5.tar.gz |
p5p: Fix empty subject
-rwxr-xr-x | run/p5p | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -31,6 +31,7 @@ for my $alt (@alt) { for ((reverse sort keys %d)[0..4]) { $_ = encode_entities($_) for ($d{$_}, $f{$_}, $s{_}); $f{$_} =~ s,@[^.]*\.,@<i>hidden</i>.,; + $s{$_} = '(no subject)' if not exists $s{$_}; my $n = $_ + $alt->{offset}; my $u = "https://www.nntp.perl.org/group/perl.perl5.porters/0/0/msg$n.html"; print <<HTML; |