summaryrefslogtreecommitdiff
path: root/mdwn2man
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-12-10 17:27:02 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-12-10 17:27:02 -0400
commitcdf040e81656b5e8034e4fd2d5e0583c367dff12 (patch)
treed02073474fe27bf000045977e08236b808ef7866 /mdwn2man
parent1f22c9ea38b85b2e3e4d25bb56887e55e1c51f40 (diff)
mwdn2man: Fix a bug in newline supression. Closes: #606578
Diffstat (limited to 'mdwn2man')
-rwxr-xr-xmdwn2man2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdwn2man b/mdwn2man
index c21253945..ad6d3c602 100755
--- a/mdwn2man
+++ b/mdwn2man
@@ -14,7 +14,7 @@ while (<>) {
s/^#\s/.SH /;
<>; # blank;
}
- s/^ +//;
+ s/^[ \n]+//;
s/^\t/ /;
s/-/\\-/g;
s/^Warning:.*//g;