Skip to content

Commit

Permalink
Handle "Jackson Twp., Henry Co., IA", avoiding double full-stops - #112
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jun 21, 2024
1 parent 0cc665c commit 839a2e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -10924,7 +10924,9 @@ sub place {
}
if($places_printed->{$place} && ($place =~ /^(.+?),/)) {
# Only print the town if the location has already been printed
return $1;
$place = $1;
$place =~ s/\.$//g; # https://github.com/nigelhorne/ged2site/issues/112
return $place;
}
if($place =~ /(.+),(.+?),(.+?),(.+?)$/) {
my $str = "$2,$3,$4";
Expand Down

0 comments on commit 839a2e4

Please sign in to comment.