if u == nil then
html(buffer)
else
- html('<a href="' .. u .. '?x=t&q=')
- html_url_arg('"' .. buffer .. '"')
- html('"><tt>')
+ html("<a\ntitle='mail thread'\n")
+ html('href="' .. u .. '?x=t&q=')
+ s = string.gsub(buffer, '"', '""')
+ html_url_arg('"' .. s .. '"')
+ html('">')
html_txt(buffer)
- html('</tt></a>')
+ html('</a>')
end
else
-- pass the body-through as-is