From 1f3484ab159750f09aea244727974599f049424e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 19 Mar 2021 04:18:54 +0000 Subject: examples: cgit-commit-filter: drop HTML tag, use title= 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 . 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. --- examples/cgit-commit-filter.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples/cgit-commit-filter.lua') 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('') + html('">') html_txt(buffer) - html('') + html('') end else -- pass the body-through as-is -- cgit v1.2.3-24-ge0c7