[PATCH 2/2] nmbug-status: Fix unbalanced <p> tags in default header/footer

Subject: [PATCH 2/2] nmbug-status: Fix unbalanced <p> tags in default header/footer

Date: Wed, 30 Dec 2015 13:04:13 -0800

To: notmuch@notmuchmail.org

Cc: David Bremner, Tomi Ollila, Jani Nikula, Carl Worth, W. Trevor King

From: W. Trevor King


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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
index 8fd736c..f33f660 100755
--- a/devel/nmbug/nmbug-status
+++ b/devel/nmbug/nmbug-status
@@ -368,6 +368,7 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
 </head>
 <body>
 <h1>{title}</h1>
+<p>
 {blurb}
 </p>
 <h2>Views</h2>
@@ -375,7 +376,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>
 ''')
-- 
2.1.0.60.g85f0837


Thread: