/[Frey]/trunk/lib/Frey/Dumper.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Dumper.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 346 by dpavlin, Thu Nov 6 21:32:10 2008 UTC revision 347 by dpavlin, Sat Nov 15 16:38:39 2008 UTC
# Line 38  sub unroll { Line 38  sub unroll {
38          } else {          } else {
39                  $out .= qq|<li${title}>|;                  $out .= qq|<li${title}>|;
40                  $out .= "$key &rarr; " if $key;                  $out .= "$key &rarr; " if $key;
41                  $out .= "<span>" . $self->html_dump( $data ) . "</span></li>";                  if ( $data =~ m{<(\w+)>.+</\1>} ) {
42                            $out .= qq|<div style="background: #eee; color: #000">$data</div></li>|;
43                    } else {
44                            $out .= "<span>" . $self->html_dump( $data ) . "</span></li>";
45                    }
46          }          }
47          return $out;          return $out;
48  }  }

Legend:
Removed from v.346  
changed lines
  Added in v.347

  ViewVC Help
Powered by ViewVC 1.1.26