Changeset 13416


Ignore:
Timestamp:
2006-12-05T15:48:23+13:00 (17 years ago)
Author:
kjdon
Message:

remove surrounding {} as well as surrounding "" from value

File:
1 edited

Legend:

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

    r13413 r13416  
    220220        # remove surrounding " marks
    221221        $value =~ s/^"//; $value =~ s/"$//;
    222     }
    223    
     222    } elsif ($value =~ /^\{/ && $value =~ /\}$/) {
     223        # remove surrounding {} marks
     224        $value =~ s/^\{//; $value =~ s/\}$//;
     225    }
    224226    # special case for year - we only want a 4 digit year, not
    225227    # "circa 2004" etc
Note: See TracChangeset for help on using the changeset viewer.