]> git.notmuchmail.org Git - notmuch/commitdiff
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 -0800)
committerDavid Bremner <david@tethera.net>
Wed, 13 Jan 2016 14:29:14 +0000 (10:29 -0400)
These were broken by b70386a4 (Move the generated date from the top of
the page to the footer, 2014-05-31), which moved 'Generated ...' to
the footer with the opening tag, but didn't replace the blurb opening
tag or add a closing tag after 'Generated ...'.

devel/nmbug/nmbug-status

index cb8b984a62babff643d1e27d7a5097da344a04a0..33ab626cfc3d8b928eec2d42f069cea310e4f83e 100755 (executable)
@@ -377,6 +377,7 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
 </head>
 <body>
 <h1>{title}</h1>
+<p>
 {blurb}
 </p>
 <h2>Views</h2>
@@ -384,7 +385,7 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
 
 footer_template = config['meta'].get('footer', '''
 <hr>
-<p>Generated: {datetime}
+<p>Generated: {datetime}</p>
 </body>
 </html>
 ''')