From 7c0e90d3f2b9e44c7fd5a1eeae1bc48c6608805d Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 7 Sep 2009 15:43:55 +0000 Subject: [PATCH] each configuration option is now div, with classes config and name of option --- lib/PXElator/html.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PXElator/html.pm b/lib/PXElator/html.pm index 90a9a7e..a1fd6f6 100644 --- a/lib/PXElator/html.pm +++ b/lib/PXElator/html.pm @@ -100,14 +100,14 @@ sub conf { $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
| } } } grep { length($conf->{$_}) > 0 } sort keys %$conf; -- 2.20.1