From: W. Trevor King Date: Mon, 10 Feb 2014 18:40:33 +0000 (-0800) Subject: nmbug-status: Normalize table HTML indentation X-Git-Tag: 0.18_rc0~152 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a3a3725e43d8aa8d958d486a3daa92340a18d0b9;p=notmuch.git nmbug-status: Normalize table HTML indentation I don't think I've ever seen '{value}\n' before :p. The new formatting avoids mixing tag levels and content across lines. --- diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index 57f16e25..20e24477 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -197,12 +197,14 @@ class HtmlPage (Page): for thread in threads: for message_display_data in thread: stream.write(( - '{date}\n' - '{message-id-term}\n' - '\n' - '{from}\n' - '{subject}\n' - '\n' + '\n' + ' {date}\n' + ' {message-id-term}\n' + '\n' + '\n' + ' {from}\n' + ' {subject}\n' + '\n' ).format(**message_display_data)) if thread != threads[-1]: stream.write('
\n')