Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treat empty arrays as undefined variables (regression) #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nhnb
Copy link

@nhnb nhnb commented May 22, 2024

The JavaScript implementation treats empty arrays non-existing information. But the Java implementation only checked for null references.

For example, a paper may have authors but no editors. If the editor array is null, everything works fine. But if editor is set to an empty array, the text "eds" is added to the output by many styles.

@michel-kraemer
Copy link
Owner

Thanks for the PR! I'll add a unit test and merge it as soon as possible.

Copy link

github-actions bot commented Aug 5, 2024

This pull request has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants