X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/54f600af14bf6dc067ffc30ec6f22d517001fe99..9685693284103c8d98b5399eeefc1dde75081610:/mdwn2man

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/;