added <pre> tags around the grabber test output origin/HEAD origin/master
authorChris Butler <chrisb@debian.org>
Wed, 6 Oct 2010 18:30:50 +0000 (19:30 +0100)
committerChris Butler <chrisb@debian.org>
Wed, 6 Oct 2010 18:30:50 +0000 (19:30 +0100)
templates/result

index af863ae..fed5296 100644 (file)
 
                        [% FOREACH grabber = detailed.keys %] 
                        <strong><a name="[% grabber %]">Testing [% grabber %]</a></strong><br>
-                         [% FOREACH line = detailed.$grabber %]
-                               [% PERL %]
+                         <pre>[% FOREACH line = detailed.$grabber %][% PERL %]
                                  my $a = "[% line FILTER html %]";
                                  $a =~ s/\b(t_[-a-z0-9_\.]+)([a-z]{3})/ 
                                                 $2 eq 'xml' ? "$1$2" : "<a href=\"$1$2\">$1$2<\/a>"/ge;
                                  print $a;
-                               [% END %]
-                               <br>
-                         [% END %]
+                               [% END %][% END %]</pre>
                        [% END %]
                </div>