about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/cgit-commit-filter.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/cgit-commit-filter.lua b/examples/cgit-commit-filter.lua
index 9614c944..9857b3c9 100644
--- a/examples/cgit-commit-filter.lua
+++ b/examples/cgit-commit-filter.lua
@@ -31,12 +31,13 @@ function filter_close()
                 if u == nil then
                         html(buffer)
                 else
-                        html('<a href="' .. u .. '?x=t&amp;q=')
+                        html("<a\ntitle='mail thread'\n")
+                        html('href="' .. u .. '?x=t&amp;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