Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix removal of tags from bib titles

  • Loading branch information...
commit 837341b66e98bfac2db2ea22d3e6dc53a0e6de40 1 parent e985bab
@wo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Extractor.pm
View
3  Extractor.pm
@@ -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} = [];
Please sign in to comment.
Something went wrong with that request. Please try again.