Skip to content

Fix issue with multiple suffixes and capitalization - #15

Merged
derek73 merged 1 commit into
derek73:masterfrom
arusahni:patch-1
Jun 3, 2014
Merged

Fix issue with multiple suffixes and capitalization#15
derek73 merged 1 commit into
derek73:masterfrom
arusahni:patch-1

Conversation

@arusahni

@arusahni arusahni commented Jun 3, 2014

Copy link
Copy Markdown
Contributor

As mentioned in #14, when the nameparser is passed a name like "SAHNI, ARU MD PHD", the suffix property is joined by a comma and a space. When capitalize() is called, the HumanName.suffix property is only split on space, resulting in trailing commas in the first n-1 suffix_list entries.

fixes #14

As mentioned in #14, when the nameparser is passed a name like "SAHNI, ARU MD PHD", the suffix property is joined by a comma and a space. When `capitalize()` is called, the `HumanName.suffix` property is only split on space, resulting in trailing commas in the first n-1 `suffix_list` entries.

fixes #14
derek73 added a commit that referenced this pull request Jun 3, 2014
Fix issue with multiple suffixes and capitalization
@derek73
derek73 merged commit bbd9d5a into derek73:master Jun 3, 2014
@derek73

derek73 commented Jun 3, 2014

Copy link
Copy Markdown
Owner

Thanks for the report and fix. Merged into master.

@arusahni
arusahni deleted the patch-1 branch June 3, 2014 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running capitalize on a name with multiple suffixes introduces an extra comma

2 participants