Skip to content

Commit

Permalink
fix removal of tags from bib titles
Browse files Browse the repository at this point in the history
  • Loading branch information
wo committed Aug 11, 2011
1 parent e985bab commit 837341b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Extractor.pm
Expand Up @@ -1124,8 +1124,9 @@ sub bib_from_parsing {
}
}
my $res;
$res->{title} = tidy_text($fields{TITLE} || '');
$res->{title} = $fields{TITLE} || '';
$res->{title} =~ s/[\.,]$//;
$res->{title} = tidy_text($res->{title});
$res->{year} = $fields{YEAR} || '';
$res->{year} =~ s/.*(\d{4}(?:$re_dash\d{2,4})?).*/$1/;
$res->{authors} = [];
Expand Down

0 comments on commit 837341b

Please sign in to comment.