Skip to content
Permalink
Browse files

Added the encode option to place()

  • Loading branch information...
nigelhorne committed Sep 10, 2019
1 parent 476e9fa commit 045adf257fe72ac1e26d09582d5d7e519b2f7e04
Showing with 6 additions and 0 deletions.
  1. +6 −0 gedcom
6 gedcom
@@ -6460,6 +6460,12 @@ sub place {
}
$places_printed->{$place} = 1;
}
if(!defined($params{'encode'})) {
$params{'encode'} = 1;
}
if($params{'encode'}) {
return HTML::Entities::encode($place);
}
return $place;
}

0 comments on commit 045adf2

Please sign in to comment.
You can’t perform that action at this time.