about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-05 23:27:54 +0000
committerEric Wong <e@yhbt.net>2020-07-06 20:01:15 +0000
commitba212558b86874d197c86e2acd0776b5b095ee5b (patch)
tree9d82f350fd372c3906f51dca0c69c792b7ebbdf7 /Documentation
parent5afb24f06627641e3fed608e807b5ab628cda348 (diff)
downloadpublic-inbox-ba212558b86874d197c86e2acd0776b5b095ee5b.tar.gz
This simplifies the primary callers of eml_entry while only making
mknews.perl worse.
Diffstat (limited to 'Documentation')
-rwxr-xr-xDocumentation/mknews.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl
index 4a5d0e56..f053e2bf 100755
--- a/Documentation/mknews.perl
+++ b/Documentation/mknews.perl
@@ -105,7 +105,8 @@ sub mime2html {
         my ($out, $eml, $ctx) = @_;
         my $smsg = $ctx->{smsg} = bless {}, 'PublicInbox::Smsg';
         $smsg->populate($eml);
-        print $out PublicInbox::View::eml_entry($ctx, $eml, 1) or die;
+        $ctx->{msgs} = [ 1 ]; # for <hr> in eml_entry
+        print $out PublicInbox::View::eml_entry($ctx, $eml) or die;
 }
 
 sub html_start {