Skip to content

Commit

Permalink
#28 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 16, 2023
1 parent ef87584 commit ce80f47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bibcop.pl
Original file line number Diff line number Diff line change
Expand Up @@ -743,15 +743,15 @@ sub warning {
next;
}
my $value = clean_tex($entry{$tag});
if ($tag =~ /title|booktitle|journal/) {
$value = '{' . $value . '}';
}
my $fixer = "fix_$tag";
my $fixed = $value;
if (defined &{$fixer}) {
no strict 'refs';
$value = $fixer->($value);
}
if ($tag =~ /title|booktitle|journal/) {
$value = '{' . $value . '}';
}
push(@lines, " $tag = {$value},");
}
info("\@$type\{$entry{':name'},");
Expand Down

0 comments on commit ce80f47

Please sign in to comment.