Skip to content

Commit

Permalink
#81 quote back
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 19, 2024
1 parent af1680a commit 6d23258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bibcop.pl
Expand Up @@ -750,6 +750,7 @@ sub fix_unicode {
'ı' => '{\i}',
'ø' => '\o{}',
'' => '--', '' => '---',
'' => '\''
);
keys %literals;
while(my($k, $v) = each %literals) {
Expand Down
1 change: 1 addition & 0 deletions perl-tests/fixing.pl
Expand Up @@ -80,6 +80,7 @@ package bibcop;
fixes('month', 'something', 'something');

fixes('unicode', 'Fernández, Luis and Peña, Rosalía', 'Fern\\\'{a}ndez, Luis and Pe\~{n}a, Rosal\\\'{i}a');
fixes('unicode', 'Programmers’ Life', 'Programmers\' Life');

sub fixes {
my ($tag, $before, $expected) = @_;
Expand Down

0 comments on commit 6d23258

Please sign in to comment.