X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fcgit-commit-filter.lua;h=9857b3c9572a33a0a3e7723f96a0de5e753a6bba;hb=e28f33dc1b6e6a296946c0c58b43900c6cbd07f7;hp=167725348be4a94fc508a44c38b29a2ff7a171a4;hpb=e1ed79d1e99e2c58b3edb370e60904cf656dd823;p=public-inbox.git diff --git a/examples/cgit-commit-filter.lua b/examples/cgit-commit-filter.lua index 16772534..9857b3c9 100644 --- a/examples/cgit-commit-filter.lua +++ b/examples/cgit-commit-filter.lua @@ -1,4 +1,4 @@ --- Copyright (C) 2015-2018 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