typst / hayagriva

Rusty bibliography management.
Apache License 2.0
289 stars 44 forks source link

fix: handle initials correctly #150

Closed razvanazamfirei closed 3 months ago

razvanazamfirei commented 3 months ago

This PR fixes the handling of initials when no delimiter is provided. Previously, citation styles that initialized without a delimiter (e.g., Vancouver) were formatted incorrectly.

For example:

Doe J J. World's Best Paper. Journal. 2025;99(9): 1–99.

instead of

Doe JJ. World's Best Paper. Journal. 2025;99(9): 1–99.

To fix this, we no longer add a space if no delimiter is passed.

Fixes #137.

reknih commented 3 months ago

Thank you!