X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fcgit-commit-filter.lua;h=9857b3c9572a33a0a3e7723f96a0de5e753a6bba;hb=7ffa98cbbf5bff8225fdfedb0f2b7c2beb5d0a6f;hp=73af994828aebcb373a7bdd67cebbe592c1d4017;hpb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;p=public-inbox.git diff --git a/examples/cgit-commit-filter.lua b/examples/cgit-commit-filter.lua index 73af9948..9857b3c9 100644 --- a/examples/cgit-commit-filter.lua +++ b/examples/cgit-commit-filter.lua @@ -1,4 +1,4 @@ --- Copyright (C) 2015-2020 all contributors +-- Copyright (C) 2015-2021 all contributors -- License: GPLv2 or later -- This commit filter maps a subject line to a search URL of a public-inbox -- disclaimer: written by someone who does not know Lua. @@ -31,11 +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