/[Frey]/trunk/lib/Frey/Introspect.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/Introspect.pm

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

revision 406 by dpavlin, Tue Nov 18 11:53:58 2008 UTC revision 407 by dpavlin, Tue Nov 18 12:02:57 2008 UTC
# Line 248  sub markup { Line 248  sub markup {
248          # Spit out the HTML          # Spit out the HTML
249          my $source = $Highlight->html( $Document );          my $source = $Highlight->html( $Document );
250    
251          $source =~ s{(<span.*?line_number.*>\s*)(\d+)(:\s*</span>)}{$1<a href="/editor+$path+$2" title="edit $path +$2" target="editor">$2</a>$3}g;          $source =~ s{(<span.*?line_number.*>\s*)(\d+)(:\s*</span>)}{$1<a target="editor" href="/editor+$path+$2">$2</a>$3}g;
252    
253          # strip page html          # strip page html
254  #       $source =~ s{^.*<body[^>]+>}{}s;  #       $source =~ s{^.*<body[^>]+>}{}s;

Legend:
Removed from v.406  
changed lines
  Added in v.407

  ViewVC Help
Powered by ViewVC 1.1.26