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

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

revision 961 by dpavlin, Wed Jan 7 19:41:48 2009 UTC revision 965 by dpavlin, Wed Jan 7 22:59:23 2009 UTC
# Line 83  my $escape_re  = join '|' => keys %escap Line 83  my $escape_re  = join '|' => keys %escap
83    
84  sub html_escape {  sub html_escape {
85          my ( $self, $html ) = @_;          my ( $self, $html ) = @_;
86            return '' unless defined $html;
87          $html =~ s/($escape_re)/$escape{$1}/g;          $html =~ s/($escape_re)/$escape{$1}/g;
88          return $html;          return $html;
89  }  }

Legend:
Removed from v.961  
changed lines
  Added in v.965

  ViewVC Help
Powered by ViewVC 1.1.26