diff options
Diffstat (limited to 'app/Individual.php')
| -rw-r--r-- | app/Individual.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '<span class="NAME" dir="auto" translate="no">' . preg_replace('/\/([^\/]*)\//', '<span class="SURN">$1</span>', e($full)) . '</span>'; // Localise quotation marks around the nickname $full = preg_replace_callback('/"([^&]*)"/', static function (array $matches): string { - return I18N::translate('ā%sā', $matches[1]); + return '<q class="wt-nickname">' . $matches[1] . '</q>'; }, $full); // A suffix of ā*ā indicates a preferred name |
