Commit 6578a06
committed
Fix issue with multiple suffixes and capitalization
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 #141 parent 2f2cff0 commit 6578a06
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
| 623 | + | |
0 commit comments