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