Changeset 5679


Ignore:
Timestamp:
2003-10-17T10:27:52+13:00 (21 years ago)
Author:
mdewsnip
Message:

Fixed a bug in format_string_english which was removing more of the metadata value than it should when multiple HTML entities were present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/sorttools.pm

    r4841 r5679  
    3737
    3838    $$stringref =~ tr/A-Z/a-z/;
    39     $$stringref =~ s/&\S+;//g;
     39    $$stringref =~ s/&[^\;]+\;//g;
    4040    $$stringref =~ s/[^a-z0-9 ]//g;
    4141    $$stringref =~ s/^\s*(the|a|an)\b//;
Note: See TracChangeset for help on using the changeset viewer.