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

Journal customization function not consistent (minor) #175

Open
omangin opened this issue Aug 6, 2017 · 0 comments
Open

Journal customization function not consistent (minor) #175

omangin opened this issue Aug 6, 2017 · 0 comments
Labels

Comments

@omangin
Copy link
Collaborator

omangin commented Aug 6, 2017

Currently the journal customization returns a dict when the journal field is non empty (i.e. != '') and the empty string otherwise. This is not a really consistent behavior since a set of space in the journal field returns a dict. I believe it should either drop the field when it's space only or always return a dict whether the name is empty or not. The test from bibtexparser/customization.py#L420 is actually responsible for the behavior.

@omangin omangin added the bug label Aug 6, 2017
@MiWeiss MiWeiss added the v1 label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants