foxygit / doom Log in
commit 9f09c169b4f081e22ed4760ad3502032466439c3
Author:     G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Sep 13 14:28:56 2024 -0500
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Wed Jul 2 08:24:12 2025 +0200

    man/docgen: Stop adding extra newlines

    ...to man pages when interpolating templated material.  Newlines already
    exist at the end of each `t`.
---
 man/docgen | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/docgen b/man/docgen
index 59579b3e..88eede03 100755
--- a/man/docgen
+++ b/man/docgen
@@ -491,7 +491,7 @@ def manpage_output(targets, substs, template_file):
     content = ""

     for t in targets:
-        content += t.manpage_output() + "\n"
+        content += t.manpage_output()

     content = content.replace("-", "\\-")