You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed Solution:
If two names are separated by and or & (probably not ;), and one of the two names does not have a family name it should inherit the family name of the other record. I'm going to attempt to solve this myself but the autogenerated racc file is a little intimidating.
The text was updated successfully, but these errors were encountered:
We would most certainly need to add a configuration option for this, because and, & and similar conjunctions are frequently used in regular name lists. And don't worry, the auto-generated file should not be changed, instead you make the changes to the source file and then run the racc rake task.
Sorry, I meant to say the source file to generate the racc file is intimidating (but I guess not as much as the actual generated file 😂). I've started to read up on racc so hopefully I'll be able to contribute to this soon!
Input
Expected Output:
# => [#<Name family="Smeltzer" given="Larry">, #<Name family="Smeltzer" given="Irene">]
Actual Output:
#=> [#<Name given="Larry">, #<Name family="Smeltzer" given="Irene">]
Proposed Solution:
If two names are separated by
and
or&
(probably not;
), and one of the two names does not have a family name it should inherit the family name of the other record. I'm going to attempt to solve this myself but the autogenerated racc file is a little intimidating.The text was updated successfully, but these errors were encountered: