]> Sergey Matveev's repositories - public-inbox.git/commitdiff
extmsg: close HTML tag in response
authorEric Wong <e@80x24.org>
Fri, 4 Sep 2015 02:18:08 +0000 (02:18 +0000)
committerEric Wong <e@80x24.org>
Fri, 4 Sep 2015 02:19:04 +0000 (02:19 +0000)
Oops, browsers normally render this fine, though.

lib/PublicInbox/ExtMsg.pm

index 00903225528ee1c579546ca5542a99b6131c39aa..7cf696d4318d3a682825eaf2bc93406d9bdb6fe9 100644 (file)
@@ -101,6 +101,7 @@ sub ext_msg {
                        $s .= qq{<a\nhref="$r">$t</a>\n};
                }
        }
+       $s .= '</pre></body></html>';
 
        [300, ['Content-Type'=>'text/html; charset=UTF-8'], [$s]];
 }