gramps icon indicating copy to clipboard operation
gramps copied to clipboard

Remove the spaces padding the connector in a hyphenated surname

Open Nick-Hall opened this issue 10 months ago • 1 comments

This fixes the previous code which replaced " - " with "-" within the entire name.

Reverts 3c7d6ebce5d3164c99181254818fc2511b9d775e

Fixes #13274.

Nick-Hall avatar Apr 26 '24 20:04 Nick-Hall

Best of both worlds.

When the hyphen is the connector, no spaces.

When the hyphen is part of the Given or a Surname, leave it as entered by the user.

DaveSch-gramps avatar Apr 26 '24 21:04 DaveSch-gramps

Worked great and I double checked all other name fields. Working as now expected.

DaveSch-gramps avatar Apr 29 '24 22:04 DaveSch-gramps