each configuration option is now div, with classes config and name of option
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Sep 2009 15:43:55 +0000 (15:43 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Sep 2009 15:43:55 +0000 (15:43 +0000)
lib/PXElator/html.pm

index 90a9a7e..a1fd6f6 100644 (file)
@@ -100,14 +100,14 @@ sub conf {
                                $html =~ s{\s(\S{16}).+(\S{16})\s}{ $1..$2 };
                                chomp($html);
                        }
-                       $html = qq|<pre style="display: inline">$html</pre>|
+                       $html = qq|<tt>$html</tt>|
                        unless
                        $html =~ s{\b(\S+)\t(\S+)\t(\S+)\b}{<b title="$1/$2">$3</b> }gs;
                
                        if ( $format =~ /edit|table/ ) {
                                ( $name, $html );
                        } else {
-                               qq|<em>$name</em> $html<br>|
+                               qq|<div class="config $name"><em>$name</em> $html</div>|
                        }
                }
        } grep { length($conf->{$_}) > 0 } sort keys %$conf;