aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/make_man_page.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/make_man_page.py b/man/make_man_page.py
index a2c8980..2202309 100644
--- a/man/make_man_page.py
+++ b/man/make_man_page.py
@@ -37,11 +37,11 @@ def md2man(text):
if sys.version_info >= (3,0):
textbytes = text.encode('utf-8')
textlen = len(textbytes)
+ return render_man(parse_document(textbytes, textlen)).decode('utf-8')
else:
textbytes = text
textlen = len(text)
- return render_man(parse_document(textbytes, textlen))
-
+ return render_man(parse_document(textbytes, textlen))
comment_start_re = re.compile('^\/\*\* ?')
comment_delim_re = re.compile('^[/ ]\** ?')