Ignore:
Timestamp:
2014-01-15T14:12:32+13:00 (10 years ago)
Author:
ak19
Message:

Treatment of 'and' in the MARC*Plugin.pm an issue for Greenstone 3. This commit is a partial fix. See 'Important' comment in MARCPlugin.pm for more details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/MARCPlugin.pm

    r27141 r28783  
    366366        if (defined $meta_value) {
    367367        # Square brackets in metadata values need to be escaped so they don't confuse Greenstone/GLI
     368
     369        # Important!  Check that this really works!! In MARCXMLPlugin
     370        # it maps these characters to \\\\[ \\\\]
     371
    368372        $meta_value =~ s/\[/&\#091;/g;
    369373        $meta_value =~ s/\]/&\#093;/g;
Note: See TracChangeset for help on using the changeset viewer.