[PATCH 2/2] nmbug-status: Fix unbalanced <p> tags in default header/footer
authorW. Trevor King <wking@tremily.us>
Wed, 30 Dec 2015 21:04:13 +0000 (13:04 +1600)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:50:17 +0000 (14:50 -0700)
17/2b66d3339b9bc8482b41217c1c2f925b967446 [new file with mode: 0644]

diff --git a/17/2b66d3339b9bc8482b41217c1c2f925b967446 b/17/2b66d3339b9bc8482b41217c1c2f925b967446
new file mode 100644 (file)
index 0000000..eb40832
--- /dev/null
@@ -0,0 +1,105 @@
+Return-Path: <wking@tremily.us>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id F3BFB6DE1B44\r
+ for <notmuch@notmuchmail.org>; Wed, 30 Dec 2015 13:06:26 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.039\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.039 tagged_above=-999 required=5 tests=[AWL=0.040, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001,\r
+ SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 4E7Cf1y5n5Nl for <notmuch@notmuchmail.org>;\r
+ Wed, 30 Dec 2015 13:06:25 -0800 (PST)\r
+Received: from resqmta-po-11v.sys.comcast.net (resqmta-po-11v.sys.comcast.net\r
+ [96.114.154.170])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id CD1216DE1AF0\r
+ for <notmuch@notmuchmail.org>; Wed, 30 Dec 2015 13:06:22 -0800 (PST)\r
+Received: from resomta-po-13v.sys.comcast.net ([96.114.154.237])\r
+ by resqmta-po-11v.sys.comcast.net with comcast\r
+ id zx5y1r00157bBgG01x6NRj; Wed, 30 Dec 2015 21:06:22 +0000\r
+Received: from mail.tremily.us ([73.221.72.168])\r
+ by resomta-po-13v.sys.comcast.net with comcast\r
+ id zx4K1r00V3dr3C901x4LKs; Wed, 30 Dec 2015 21:04:21 +0000\r
+Received: from ullr.tremily.us (unknown [192.168.10.7])\r
+ by mail.tremily.us (Postfix) with ESMTPS id E65211B2C6BE;\r
+ Wed, 30 Dec 2015 13:04:18 -0800 (PST)\r
+Received: (nullmailer pid 25460 invoked by uid 1000);\r
+ Wed, 30 Dec 2015 21:04:25 -0000\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: notmuch@notmuchmail.org\r
+Cc: David Bremner <david@tethera.net>,\r
+ Tomi Ollila <tomi.ollila@iki.fi>, Jani Nikula <jani@nikula.org>,\r
+ Carl Worth <cworth@cworth.org>, "W. Trevor King" <wking@tremily.us>\r
+Subject: [PATCH 2/2] nmbug-status: Fix unbalanced <p> tags in default\r
+ header/footer\r
+Date: Wed, 30 Dec 2015 13:04:13 -0800\r
+Message-Id:\r
+ <957f5471917ebfebf0ebe30cc4c7527ed096ea89.1451509249.git.wking@tremily.us>\r
+X-Mailer: git-send-email 2.1.0.60.g85f0837\r
+In-Reply-To: <cover.1451509249.git.wking@tremily.us>\r
+References: <cover.1451509249.git.wking@tremily.us>\r
+In-Reply-To: <cover.1451509249.git.wking@tremily.us>\r
+References: <cover.1451509249.git.wking@tremily.us>\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20140121; t=1451509582;\r
+ bh=KnOTFZOpBCs0MwZ70U8ouIkjfq/+dUupfC/rqtHKNcs=;\r
+ h=Received:Received:Received:Received:From:To:Subject:Date:\r
+ Message-Id;\r
+ b=UyoLVgNRRNGrZlVinplXj3j2mhbA+U5CTNnXvoHzyt54L6p5XY+kqXIU5FVYyBuak\r
+ xAvLLiOlQiVWGOrrnj655kPtGmOWvcvmtLLE6PmspR5UKGXoRu0sMo62rZvrATZPpb\r
+ sahOSFlQNAM4ZPnM63t+qgfPFYB5M6tykmdjAZXb7SQleVccwfNcKE7FAwaDljrTOK\r
+ k7DUJdRtvSgsRyZ+uNt6/1xPj4aNwJ1zg3Cs6tMrZr09tlVHZyBVKTsZUz2piDcb3/\r
+ sa/Zb6veilsEPsnUICvdmQ2g8o9ix5K6cpgV8G4EhfdkSZFSs+3rjPrJM/Jsw+wE2S\r
+ dsSrKeNQqoYiw==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 30 Dec 2015 21:06:27 -0000\r
+\r
+These were broken by b70386a4 (Move the generated date from the top of\r
+the page to the footer, 2014-05-31), which moved 'Generated ...' to\r
+the footer with the opening tag, but didn't replace the blurb opening\r
+tag or add a closing tag after 'Generated ...'.\r
+---\r
+ devel/nmbug/nmbug-status | 3 ++-\r
+ 1 file changed, 2 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status\r
+index 8fd736c..f33f660 100755\r
+--- a/devel/nmbug/nmbug-status\r
++++ b/devel/nmbug/nmbug-status\r
+@@ -368,6 +368,7 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>\r
+ </head>\r
+ <body>\r
+ <h1>{title}</h1>\r
++<p>\r
+ {blurb}\r
+ </p>\r
+ <h2>Views</h2>\r
+@@ -375,7 +376,7 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>\r
\r
+ footer_template = config['meta'].get('footer', '''\r
+ <hr>\r
+-<p>Generated: {datetime}\r
++<p>Generated: {datetime}</p>\r
+ </body>\r
+ </html>\r
+ ''')\r
+-- \r
+2.1.0.60.g85f0837\r
+\r