<tt> doesn't seem necessary and it's deprecated in HTML, nowadays.
In any case, dillo's CSS support seems to show it as fixed-width
even without <tt>. Use the title= attribute to highlight that
it goes to the mail thread, too.
In the future, we'll probably link to something like "lei p2q"
(patch-to-query) to include OIDs in the search.
if u == nil then
html(buffer)
else
- html('<a href="' .. u .. '?x=t&q=')
+ html("<a\ntitle='mail thread'\n")
+ html('href="' .. u .. '?x=t&q=')
s = string.gsub(buffer, '"', '""')
html_url_arg('"' .. s .. '"')
- html('"><tt>')
+ html('">')
html_txt(buffer)
- html('</tt></a>')
+ html('</a>')
end
else
-- pass the body-through as-is