Changeset 11449 for trunk/gsdl


Ignore:
Timestamp:
2006-03-21T15:22:12+12:00 (18 years ago)
Author:
mdewsnip
Message:

Prevented from adding extra newlines to the Greenstone XML files every submission.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/gti.pl

    r11448 r11449  
    12971297    my $source_file_chunk_text = $source_file_key_to_text_mapping->{$chunk_key};
    12981298    my $target_file_chunk_text = $target_file_key_to_text_mapping->{$chunk_key} || "";
     1299    $target_file_chunk_text =~ s/(\n)*$//g;
    12991300
    13001301    # If no translation exists for this chunk, show this, and move on
Note: See TracChangeset for help on using the changeset viewer.