]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - mdwn2man
added jquery-ui for attachment interface
[git.ikiwiki.info.git] / mdwn2man
index 090174534d48e7cc056a5be13def89db80df6717..ad6d3c6026400660e87b67367133ce2e4a78fb81 100755 (executable)
--- a/mdwn2man
+++ b/mdwn2man
@@ -14,7 +14,8 @@ while (<>) {
                s/^#\s/.SH /;
                <>; # blank;
        }
                s/^#\s/.SH /;
                <>; # blank;
        }
-       s/^\s+//;
+       s/^[ \n]+//;
+       s/^\t/ /;
        s/-/\\-/g;
        s/^Warning:.*//g;
        s/^$/.PP\n/;
        s/-/\\-/g;
        s/^Warning:.*//g;
        s/^$/.PP\n/;