Changeset 2364


Ignore:
Timestamp:
2001-05-04T16:44:17+12:00 (23 years ago)
Author:
jrm21
Message:

turn "\" into "
" so that we don't lose backslashes along the way...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/HTMLPlug.pm

    r2342 r2364  
    557557
    558558    &BasPlug::read_file($self, $filename, $encoding, $textref);
    559    
     559
     560    # turn \ into \\ so that the rest of greenstone doesn't think there
     561    # is an escape code following.
     562    $$textref =~ s/\\/\\\\/go;
     563
    560564    # Convert things like é to their UTF8 equivalents
    561565    $$textref =~ s/&(lt|gt|amp|quot);/&z$1;/go;
Note: See TracChangeset for help on using the changeset viewer.