From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id AF3A31F9FC for ; Fri, 19 Mar 2021 04:18:54 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] examples: cgit-commit-filter: drop HTML tag, use title= Date: Fri, 19 Mar 2021 04:18:54 +0000 Message-Id: <20210319041854.17213-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(-) 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