Ignore:
Timestamp:
2002-06-25T21:07:30+12:00 (22 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/protemix/perllib/plugins/ProtemixPlug.pm

    r3177 r3182  
    176176}
    177177
     178# don't want to convert character entities for now as mgpp appears to be broken
     179sub read_file {
     180    my ($self, $filename, $encoding, $language, $textref) = @_;
     181
     182    &BasPlug::read_file($self, $filename, $encoding, $language, $textref);
     183
     184    # Convert entities to their UTF8 equivalents
     185#    $$textref =~ s/&(lt|gt|amp|quot);/&z$1;/go;
     186#    $$textref =~ s/&([^;]+);/&ghtml::getcharequiv($1,1)/gseo;
     187#    $$textref =~ s/&z(lt|gt|amp|quot);/&$1;/go;
     188}
     189
     190
    1781911;
Note: See TracChangeset for help on using the changeset viewer.