timlrx / rehype-citation

Rehype plugin to add citation and bibliography from bibtex files
https://rehype-citation.netlify.app
MIT License
41 stars 9 forks source link

Bug in HTML generation when using 10 or more references with numeric style and linked citations #21

Closed marc-b2 closed 1 year ago

marc-b2 commented 1 year ago

Issue

When using 10 or more distinct references in one file with a numeric style csl and linkCitations enabled the HTML generation breaks.

Steps to reproduce

Using the linkCitaion example from the demo app:

Or simply checkout my fork.

timlrx commented 1 year ago

Thanks, able to reproduce the bug. Let me see what's the issue.

timlrx commented 1 year ago

@marc-b2 fixed and published as v1.0.1

marc-b2 commented 1 year ago

nice! thanks for the quick response!