- Timestamp:
- 10/24/08 18:08:56 (3 months ago)
- Files:
-
- 1 modified
-
util/smartlinks.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/smartlinks.pl
r22578 r22739 579 579 580 580 my $nlines = $to - $from + 1; 581 581 my $hilited_file = $file; 582 $hilited_file =~ s{t/spec/}{}; 583 $hilited_file =~ s{/([^/]+)\.t$}{/_$1.html}; 582 584 my $html = <<"_EOC_"; 583 585 <p>From $file lines $from–$to$stat:<span id="smartlink_skip_${snippet_id}"> <a href="#smartlink_skipto_${snippet_id}">(skip)</a></span></p> … … 586 588 </div> 587 589 <span id="smartlink_skipto_${snippet_id}"> </span> 590 <a href="http://feather.perl6.nl/~azawawi/html/$hilited_file" target="_blank"> 591 STD_syntax_highlight-ed $file 592 </a> 588 593 _EOC_ 589 594 $snippets[$snippet_id] = $html;
