Currently function nameDetails simply concatenates various tags to build the full name. The tags _RUFNAME and NICK get some decoration, example: Johannes Karl "Johannes" (Hannes) Buchholz
Well, the tag _RUFNAME as a special part of GIVN, which I suggest not to repeat but show decorated within GIVN.
Result: "Johannes" Karl (Hannes) Buchholz
References:
https://wiki.genealogy.net/Name_in_Gedcomhttps://wiki.genealogy.net/GEDCOM/NAME-Tag#Vereinbarung_zu_Rufnamen