From ce80f474cd944f4c6888b96f844955c3afd72b3b Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Tue, 16 May 2023 12:08:16 +0800 Subject: [PATCH] #28 typo --- bibcop.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bibcop.pl b/bibcop.pl index 14a2760..586358a 100755 --- a/bibcop.pl +++ b/bibcop.pl @@ -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'},");