Skip to content

Commit

Permalink
Encode given name of spouse
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jun 15, 2024
1 parent 6d8a4dc commit 6740821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -3874,7 +3874,7 @@ sub print_person

if($opts{'l'} || !$is_alive) {
print $html '<a href="', make_filename_from_person(person => $spouses[0]), '">',
$spouses[0]->as_string(),
wide_to_html($spouses[0]->as_string()),
'</a>';
# print $xml '&lt;a href="?page=people&amp;entry=', $spouses[0]->xref(), '"&gt;',
# $spouses[0]->as_string(),
Expand All @@ -3884,7 +3884,7 @@ sub print_person
'</a>');
} else {
print $html '<a href="', make_filename_from_person(person => $spouses[0]), '">',
given_names($spouses[0]),
wide_to_html(given_names($spouses[0])),
'</a>';
# print $xml '&lt;a href="?page=people&amp;entry=', $spouses[0]->xref(), '"&gt;',
# $spouses[0]->given_names(),
Expand Down

0 comments on commit 6740821

Please sign in to comment.