Ignore:
Timestamp:
2010-08-18T10:50:18+12:00 (14 years ago)
Author:
mdewsnip
Message:

Changed "srclink_file" metadata to always contain the filename, instead of referencing another metadata element. This is so the C++ code can escape underscores in the filename values correctly.

File:
1 edited

Legend:

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

    r22652 r22663  
    11401140   
    11411141    $doc_obj->associate_file($filename, $assocfilename, undef, $cursection);
    1142     $doc_obj->add_utf8_metadata ($cursection, "srclink_file", "[SourceFile]");
     1142    $doc_obj->add_utf8_metadata ($cursection, "srclink_file", $doc_obj->get_sourcefile());
    11431143}
    11441144
Note: See TracChangeset for help on using the changeset viewer.