]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Documentation/mknews.perl
view: simplify eml_entry callers further
[public-inbox.git] / Documentation / mknews.perl
index 4a5d0e563bc425a9539349c761059cbc12aa48f9..f053e2bfb9e558541778762a4d6b3b79bd0b633d 100755 (executable)
@@ -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 {