summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmdwn2man3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdwn2man b/mdwn2man
index 090174534..ad6d3c602 100755
--- a/mdwn2man
+++ b/mdwn2man
@@ -14,7 +14,8 @@ while (<>) {
s/^#\s/.SH /;
<>; # blank;
}
- s/^\s+//;
+ s/^[ \n]+//;
+ s/^\t/ /;
s/-/\\-/g;
s/^Warning:.*//g;
s/^$/.PP\n/;