Changeset 3196


Ignore:
Timestamp:
2002-06-26T10:08:57+12:00 (22 years ago)
Author:
sjboddie
Message:

Added   to the list of entities that HTMLPlug doesn't convert to utf-8

File:
1 edited

Legend:

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

    r3181 r3196  
    677677
    678678    # Convert entities to their UTF8 equivalents
    679     $$textref =~ s/&(lt|gt|amp|quot);/&z$1;/go;
     679    $$textref =~ s/&(lt|gt|amp|quot|nbsp);/&z$1;/go;
    680680    $$textref =~ s/&([^;]+);/&ghtml::getcharequiv($1,1)/gseo;
    681     $$textref =~ s/&z(lt|gt|amp|quot);/&$1;/go;
     681    $$textref =~ s/&z(lt|gt|amp|quot|nbsp);/&$1;/go;
    682682}
    683683
Note: See TracChangeset for help on using the changeset viewer.