X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f398ad035b973608d380c9939ea845d8e2a0cdc2..a241942f17b8ffbc0d4f3251aad00708271b8344:/mdwn2man?ds=sidebyside

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