/[Frey]/branches/mojo/lib/Frey/Pod.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 /branches/mojo/lib/Frey/Pod.pm

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

revision 257 by dpavlin, Sat Nov 1 16:42:17 2008 UTC revision 258 by dpavlin, Tue Nov 4 20:26:59 2008 UTC
# Line 44  sub markup { Line 44  sub markup {
44          $body =~ s{.*?<body [^>]+>}{}s;          $body =~ s{.*?<body [^>]+>}{}s;
45          $body =~ s{</body>\s*</html>\s*$}{};          $body =~ s{</body>\s*</html>\s*$}{};
46          $body =~ s!%3A%3A!::!g;          $body =~ s!%3A%3A!::!g;
47          $body =~ s{<a href="http://search\.cpan\.org/perldoc\?($my_classes)"([^>]*)>}{<a href="/~/$1"$2>}g;          $body =~ s{<a href="http://search\.cpan\.org/perldoc\?($my_classes)"([^>]*)>}{<a href="/$1"$2>}g;
48          $body =~ s{<a href="http://(search\.cpan\.org)/([^"]+)"([^>]*)>}{<a target="$1" href="http://$1/$2"$3>}g;          $body =~ s{<a href="http://(search\.cpan\.org)/([^"]+)"([^>]*)>}{<a target="$1" href="http://$1/$2"$3>}g;
49          $body =~ s!</li>\n\t<ul>!<ul>!;          $body =~ s!</li>\n\t<ul>!<ul>!;
50          $body =~ s!</ul>!</ul></li>!;          $body =~ s!</ul>!</ul></li>!;

Legend:
Removed from v.257  
changed lines
  Added in v.258

  ViewVC Help
Powered by ViewVC 1.1.26