]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Unsubscribe.pm
treewide: run update-copyrights from gnulib for 2019
[public-inbox.git] / lib / PublicInbox / Unsubscribe.pm
index 46d5d8d7ea286844eb8f353650fc9ba1067d324a..945e7ae77d4c14bdaccfed19363375ad128e4214 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 all contributors <meta@public-inbox.org>
+# Copyright (C) 2016-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 #
 # Standalone PSGI app to handle HTTP(s) unsubscribe links generated
@@ -136,7 +136,7 @@ sub r {
        my ($self, $code, $title, @body) = @_;
        [ $code, [ @CT_HTML ], [
                "<html><head><title>$title</title></head><body><pre>".
-               join("\n", "<b>$title</b>\n", @body) . '</pre><hr />'.
+               join("\n", "<b>$title</b>\n", @body) . '</pre><hr>'.
                "<pre>This page is available under AGPL-3.0+\n" .
                "git clone $self->{code_url}\n" .
                qq(Email $self->{contact} if you have any questions).
@@ -151,9 +151,9 @@ sub archive_info {
        unless ($archive_url) {
                if (my $config = $self->{pi_config}) {
                        # PublicInbox::Config::lookup
-                       my $inbox = $config->lookup($list_addr);
+                       my $ibx = $config->lookup($list_addr);
                        # PublicInbox::Inbox::base_url
-                       $archive_url = $inbox->base_url if $inbox;
+                       $archive_url = $ibx->base_url if $ibx;
                }
        }