This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 659c9d89 Allow header customisation
659c9d89 is described below
commit 659c9d891d3853b1c4b6f118b78ae654988ba285
Author: Sebb <[email protected]>
AuthorDate: Sun Oct 27 17:59:28 2024 +0000
Allow header customisation
---
tools/boardminutes2html.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/boardminutes2html.py b/tools/boardminutes2html.py
index 53f1a876..3867dd39 100755
--- a/tools/boardminutes2html.py
+++ b/tools/boardminutes2html.py
@@ -137,7 +137,7 @@ FTR="""</body>
</html>
"""
-def text2html(inp, out):
+def text2html(inp, out, extrahdr=''):
"""html-ise text"""
links = {}
info = {}
@@ -145,6 +145,7 @@ def text2html(inp, out):
info['sname'] = ''
info['podhdr'] = False
out.write(HDR)
+ out.write(extrahdr)
out.write('<pre>')
cur_s = None
for line in inp: