aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-12-10 17:36:39 -0400
committerJoey Hess <joey@kitenet.net>2010-12-10 17:36:39 -0400
commit86933842e5370782c450db958998d55f523171af (patch)
tree41150ae730c9c637dddaf0d6cb6ba1bfbb88ab2e
parent5d6c604bdc03d5009378273cb4e465319dff4b58 (diff)
downloadikiwiki-86933842e5370782c450db958998d55f523171af.tar
ikiwiki-86933842e5370782c450db958998d55f523171af.tar.gz
sync mdwn2man changes from git-annex
-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/;