--- lib/PXElator/html.pm 2009/08/30 16:36:37 380 +++ lib/PXElator/html.pm 2009/09/07 15:43:55 389 @@ -100,17 +100,17 @@ $html =~ s{\s(\S{16}).+(\S{16})\s}{ $1..$2 }; chomp($html); } - $html = qq|
$html
| + $html = qq|$html| unless $html =~ s{\b(\S+)\t(\S+)\t(\S+)\b}{$3 }gs; if ( $format =~ /edit|table/ ) { ( $name, $html ); } else { - qq|$name $html
| + qq|
$name $html
| } } - } sort keys %$conf; + } grep { length($conf->{$_}) > 0 } sort keys %$conf; $format eq 'inline' ? join("\n", @opts) : @opts; }