about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-11-28 17:37:01 +0000
committerEric Wong <e@80x24.org>2023-11-29 02:13:31 +0000
commit59e3e12f23994538383f54f44e92e8a0d63070b2 (patch)
treef7d2137d676b9672693fdbdaf0a4d339d9e0c143
parent7a9587de359122b462bee32871e86bef19916ecf (diff)
downloadpublic-inbox-59e3e12f23994538383f54f44e92e8a0d63070b2.tar.gz
www: mail_diff: add missing </pre> tag
Found by tidy(1) while dealing with other stuff.
-rw-r--r--lib/PublicInbox/MailDiff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/MailDiff.pm b/lib/PublicInbox/MailDiff.pm
index 89284e39..e4e262ef 100644
--- a/lib/PublicInbox/MailDiff.pm
+++ b/lib/PublicInbox/MailDiff.pm
@@ -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'};