AuthorList parse adds extra space if author middlename is abbrevatied without dot #4864
Closed
Description
Importing the PubMed entry with the Id gives me a bunch of names.
However in e26d9ab I added a normalize names formatter to add dots to the abbrevated names.
However, the Authorlist.parse method adds an extra space between the first and last name of the last author.
N.[space][space]Henriette
Author{firstPart='N. Henriette', firstAbbr='N. H.', vonPart='null', lastPart='Uhlenhaut', jrPart='null'}
Input entry to the formatter:
@article{,
author = {Dyar, Kenneth Allen and Hubert, Michaël Jean and Mir, Ashfaq Ali and Ciciliot, Stefano and Lutter, Dominik and Greulich, Franziska and Quagliarini, Fabiana and Kleinert, Maximilian and Fischer, Katrin and Eichmann, Thomas Oliver and Wright, Lauren Emily and Peña Paz, Marcia Ivonne and Casarin, Alberto and Pertegato, Vanessa and Romanello, Vanina and Albiero, Mattia and Mazzucco, Sara and Rizzuto, Rosario and Salviati, Leonardo and Biolo, Gianni and Blaauw, Bert and Schiaffino, Stefano and Uhlenhaut, N Henriette},
}
Workaround is to call the NormalizeNames formatter again, then the space is removed
Entry preview in import is correct, so the error is the parser:
Metadata
Assignees
Type
Projects
Status
Done