From 71af803e1696cd87177ca3e9b16778288b75c69b Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 21 Mar 2024 16:35:44 +0100 Subject: ansi2html: add separate switch for "standalone" this way its output can be embedded into documents without a pointless DT declaration --- bonus/git.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bonus/git.cgi') diff --git a/bonus/git.cgi b/bonus/git.cgi index 9038f332..5bbf12a3 100755 --- a/bonus/git.cgi +++ b/bonus/git.cgi @@ -54,7 +54,7 @@ if (params[0] == "log") { const cgi = `${query.prefix}git.cgi?prefix=${query.prefix}&path=${query.path}¶ms=show`; const titleParams = params.join(' ').replace(/[&<>]/g, x => ({'&': '&', '<': '<', '>': '>'}[x])); - console.log(`git ${titleParams}`); + console.log(`\ngit ${titleParams}`); while ((l = f.getline()) !== null) { console.log(l.replace(/[a-f0-9]{40}/g, x => `${x}`)); -- cgit 1.4.1-2-gfad0