From c652cdbd7d1da85bf10c8dea060d1ba953b20fd6 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Wed, 19 Feb 2020 21:37:40 +0000 Subject: Fix: #1209 - use q tags for nickname in quotes --- app/Individual.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Individual.php') diff --git a/app/Individual.php b/app/Individual.php index 44f7f650be..f04a458312 100644 --- a/app/Individual.php +++ b/app/Individual.php @@ -1165,7 +1165,7 @@ class Individual extends GedcomRecord $full = '' . preg_replace('/\/([^\/]*)\//', '$1', e($full)) . ''; // Localise quotation marks around the nickname $full = preg_replace_callback('/"([^&]*)"/', static function (array $matches): string { - return I18N::translate('ā€œ%sā€', $matches[1]); + return '' . $matches[1] . ''; }, $full); // A suffix of ā€œ*ā€ indicates a preferred name -- cgit v1.3