lib/PublicInbox/Feed.pm | 7 +++---- lib/PublicInbox/View.pm | 43 ++++++++++++++++++------------------------- diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 0b7ef7f84290633efdaf28b5ce231e0e8258cebd..8bfd19e789a67e213fa057ddbd8c847808e40385 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -12,7 +12,6 @@ use PublicInbox::View; use constant { DATEFMT => '%Y-%m-%dT%H:%M:%SZ', # atom standard MAX_PER_PAGE => 25, # this needs to be tunable - PRE_WRAP => "
", }; # main function @@ -60,7 +59,7 @@ my $html = ""; + $footer = "$title " . '{atomurl} . "\"\ntype=\"application/atom+xml\"/>" . - '' . PRE_WRAP; + ''; my $state; my $git = PublicInbox::GitCatFile->new($ctx->{git_dir}); @@ -80,9 +79,9 @@ my $footer = nav_footer($ctx->{cgi}, $last, $feed_opts, $state); if ($footer) { my $list_footer = $ctx->{footer}; $footer .= "\n" . $list_footer if $list_footer; - $footer = "
" . PRE_WRAP . "$footer
$footer"; } - $html . "$footer"; + $html .= "$footer