Skip to content

Commit

Permalink
https://github.com/UksusoFF/webtrees-faces/issues/13
Browse files Browse the repository at this point in the history
  • Loading branch information
UksusoFF committed Apr 29, 2020
1 parent c7ae56f commit 8041a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/DataController.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private function getMediaMapForTree(Tree $tree, Media $media): array
? $person->url()
: null,
'name' => $public
? strip_tags($person->fullName())
? strip_tags(str_replace(['<q class="wt-nickname">', '</q>'], '"', $person->fullName()))
: I18N::translate('Private'),
'life' => $public
? strip_tags($person->lifespan())
Expand Down

0 comments on commit 8041a4f

Please sign in to comment.