X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=tools%2FPM-Pod2html-snippet.pl;fp=tools%2FPM-Pod2html-snippet.pl;h=ba587c74e68d4ac3f8ed7ac8db91303952d37570;hb=fb9a1059a3ae94fef524dd61166ec3e7f8f5a6ef;hp=b1393ddabe9af6218fe8cc5f0b330b5df5323f43;hpb=15c551d8d343305c6a28bd6b9813c63b8420b954;p=sdlgit%2FSDL-Site.git diff --git a/tools/PM-Pod2html-snippet.pl b/tools/PM-Pod2html-snippet.pl index b1393dd..ba587c7 100644 --- a/tools/PM-Pod2html-snippet.pl +++ b/tools/PM-Pod2html-snippet.pl @@ -76,6 +76,8 @@ for my $key (sort keys %files) $last_section = $files{$key}{'section'}; } + $files{$key}{'desc'} =~ s/^[\-\s]*/- / if $files{$key}{'desc'}; + printf($fh '%s%s%s', $icon, $files{$key}{'path'}, $files{$key}{'name'}, $files{$key}{'desc'}); }