Changeset 23

Show
Ignore:
Timestamp:
12/18/07 17:13:09 (7 years ago)
Author:
brian
Message:

Track ticket #9 - functions added

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Mungo.pm

    r17 r23  
    8484  $s =~ s/%([a-fA-F0-9]{2})/chr(hex($1))/eg; 
    8585  return $s; 
     86} 
     87sub HTMLEncode { 
     88  my $self = shift; 
     89  my $s = shift; 
     90  return HTML::Entities::encode_entities( $s ); 
     91} 
     92sub HTMLDecode { 
     93  my $self = shift; 
     94  my $s = shift; 
     95  return HTML::Entities::decode_entities( $s ); 
    8696} 
    8797sub demangle_name {