Permalink
Browse files

fix removal of tags from bib titles

  • Loading branch information...
1 parent e985bab commit 837341b66e98bfac2db2ea22d3e6dc53a0e6de40 @wo committed Aug 11, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Extractor.pm
View
@@ -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} = [];

0 comments on commit 837341b

Please sign in to comment.