andras-simonyi / citeproc-el

A CSL 1.0.2 Citation Processor for Emacs.
GNU General Public License v3.0
85 stars 9 forks source link

replace `name` attr with `id` in html bib-item-no #30

Closed titaniumbones closed 3 years ago

titaniumbones commented 3 years ago

I believe the name attribute is obsolete in HTML. Using it instead of id has consequences for javaScript, e.g., getelementByID() will not ollect elements without an id. This trivial patch fixes the issue.

andras-simonyi commented 3 years ago

This is very useful, thanks!