]> git.notmuchmail.org Git - notmuch/commit
nmbug-status: Use <code> and <p> markup where appropriate
authorW. Trevor King <wking@tremily.us>
Thu, 13 Feb 2014 16:47:18 +0000 (08:47 -0800)
committerDavid Bremner <david@tethera.net>
Fri, 14 Feb 2014 01:47:37 +0000 (21:47 -0400)
commitaa32d2579b0aa4c8c8a31a1d6060445b254b2be2
treee947ba4d6efbb5b5fec72b9f63d4c17b865653ba
parent711d04c8214f487e57c4bbc26b4433c5e6f099ce
nmbug-status: Use <code> and <p> markup where appropriate

* Wrap free text in <p> tags.
* Convert <blockquote> to <p><code> for query strings.
* Wrap message-id-term (id:"...") in <code>.

The <code> tags get nicer default markup (smaller monospace font) for
notmuch query terms [1].  The <p> tags don't have much effect without
attached CSS, but bare text (phrasing content [2]) in <body> (which
expects flow content [3,4]) feels wrong.

[1]: http://www.w3.org/TR/html5/text-level-semantics.html#the-code-element
[2]: http://www.w3.org/TR/html5/dom.html#phrasing-content-1
[3]: http://www.w3.org/TR/html5/dom.html#flow-content-1
[4]: http://www.w3.org/TR/html5/sections.html#the-body-element
devel/nmbug/nmbug-status