ref: d0c36735aaeb178d936fc7434d5e3a4b356430d6
parent: bf3747bfdda2d403344d7e007acfdad12afd5d7a
author: Mike Swanson <mikeonthecomputer@gmail.com>
date: Thu Jan 19 08:03:00 EST 2017
man: Make sure to add new lines in the last commit.
--- a/man/docgen
+++ b/man/docgen
@@ -432,7 +432,7 @@
print_template(filename, content)
else:
line = line.replace("@content", content)
- sys.stdout.buffer.write(line.rstrip().encode('UTF-8'))
+ sys.stdout.buffer.write(line.rstrip().encode('UTF-8') + b'\n')
finally:
f.close()
@@ -452,7 +452,7 @@
read_wikipages()
for t in targets:
- sys.stdout.buffer.write(t.wiki_output().encode('UTF-8'))
+ sys.stdout.buffer.write(t.wiki_output().encode('UTF-8') + b'\n')
def plaintext_output(targets, template_file):