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

[Bug] Any @ sign is treated as the start of a citation key #110

Open
1 of 3 tasks
infologie opened this issue Apr 18, 2024 · 0 comments
Open
1 of 3 tasks

[Bug] Any @ sign is treated as the start of a citation key #110

infologie opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@infologie
Copy link
Contributor

What version of Cosma are you using?

2.4.0

On which operating system(s) did you observe the bug?

  • macOS
  • Windows
  • Linux

What version of the operating system are you on?

macOS 12.7.2

Actions leading to the bug

This was reported to me by Michael Piotrowski on Mastodon. Mastodon links happen to contain the @ sign. But any string with @ in a record will trigger the bug.

Bug description

When using cosma modelize --citeproc, any @ sign triggers the citation parser, even outside of citations, for instance a URL containing a @. Since the strings don't match citation keys from the bibliographic data, Cosma logs it as an error. Note that URLs don't break. So this is more a nuisance than a breaking bug.

Additional information

No response

@infologie infologie added the bug Something isn't working label Apr 18, 2024
@infologie infologie changed the title [Bug] Citeproc catches strings containing @ outside of citations [Bug] Any @ sign is treated as the start of a citation key Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant