X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/54f600af14bf6dc067ffc30ec6f22d517001fe99..e0d6ef53d81456eb9edb2899e1838654d2c95191:/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/;