]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
www: mail_diff: add missing </pre> tag
authorEric Wong <e@80x24.org>
Tue, 28 Nov 2023 17:37:01 +0000 (17:37 +0000)
committerEric Wong <e@80x24.org>
Wed, 29 Nov 2023 02:13:31 +0000 (02:13 +0000)
Found by tidy(1) while dealing with other stuff.

lib/PublicInbox/MailDiff.pm

index 89284e39c37e536cbef999652a0ad4680395c6ab..e4e262efe472e9bf7cac90c93fcf5549d4dd98ed 100644 (file)
@@ -56,7 +56,7 @@ sub next_smsg ($) {
        $self->{smsg} = $over ? $over->next_by_mid(@{$self->{next_arg}})
                        : $ctx->gone('over');
        if (!$self->{smsg}) {
-               $ctx->write($ctx->_html_end);
+               $ctx->write('</pre>', $ctx->_html_end);
                return $ctx->close;
        }
        PublicInbox::DS::requeue($self) if $ctx->{env}->{'pi-httpd.async'};