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

Parsing error on unprotected numbers #23

Closed
aurelien-naldi opened this issue May 12, 2022 · 1 comment
Closed

Parsing error on unprotected numbers #23

aurelien-naldi opened this issue May 12, 2022 · 1 comment

Comments

@aurelien-naldi
Copy link

The following bibtex is valid but trigger a parsing error (unknown abbreviation "2020": 274-278):

@article{bullshit2020,
    title={At-scale impact of the {Net Wok}: A culinarically holistic investigation of distributed dumplings},
    author={Astley, Rick and Morris, Linda},
    journal={Armenian Journal of Proceedings},
    volume={61},
    pages={192--219},
    year=2020,
    publisher={Automattic Inc.}
  }

The problem comes from the value of the "year" field which is not enclosed (which is allowed in bibltex and found in many places).

@reknih
Copy link
Member

reknih commented May 12, 2022

Thank you for filing this bug! The rewrite of the parser caused this regression (and it also caused the test suite to regress and not test this due to a missing .unwrap). I will push a fix and a release.

@reknih reknih closed this as completed in 92d4446 May 12, 2022
reknih added a commit that referenced this issue May 12, 2022
Also won't escape colon in verbatim outputs (follow up on #22)
Bumps version
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

No branches or pull requests

2 participants