sub new_html_i {
my ($ctx, $eml) = @_;
- $ctx->zmore($ctx->html_top) if exists $ctx->{-html_tip};
+ print { $ctx->zfh } $ctx->html_top if exists $ctx->{-html_tip};
if ($eml) {
$ctx->{smsg}->populate($eml) if !$ctx->{ibx}->{over};
return PublicInbox::View::eml_entry($ctx, $eml);
}
my $smsg = shift @{$ctx->{msgs}} or
- $ctx->zmore(PublicInbox::View::pagination_footer(
- $ctx, './new.html'));
+ print { $ctx->zfh } PublicInbox::View::pagination_footer(
+ $ctx, './new.html');
$smsg;
}
}
$ctx->{-html_tip} = '<pre>';
$ctx->{-upfx} = '';
+ $ctx->{-spfx} = '' if $ctx->{ibx}->{coderepo};
$ctx->{-hr} = 1;
PublicInbox::WwwStream::aresponse($ctx, \&new_html_i);
}