Skip to content

Commit

Permalink
Fix é in residence notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Dec 12, 2023
1 parent 2687bfc commit c7f5c20
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -4750,11 +4750,7 @@ sub print_person
}
}
}
if((!($opts{'c'} && $residence->source())) && (my $notes = notes({ record => $residence }))) {
$notes =~ s/\.$//;
$notes = lcfirst($notes);
$residencestring .= " ($notes)";
} elsif($opts{'c'}) {
if($opts{'c'}) {
if($residencecitations{$residence}) {
my $remove_comma = 0;
if($residencestring =~ s/,$//) {
Expand All @@ -4776,6 +4772,11 @@ sub print_person
}
}
}
} elsif($residence->source() && (my $notes = notes({ record => $residence }))) {
$notes =~ s/\.$//;
$notes =~ s/\xc3\xa9/\N{U+00E9}/g;
$notes = lcfirst($notes);
$residencestring .= " ($notes)";
}
$count++;
if(($count == 1) && (scalar(@residencelist) == 2)) {
Expand Down

0 comments on commit c7f5c20

Please sign in to comment.