zotero / citeproc-rs

CSL processor in Rust.
https://cormacrelf.github.io/citeproc-wasm-demo/
Other
75 stars 11 forks source link

Fix doi urls in prefix duplication, and pmids/pmcids #132

Closed cormacrelf closed 3 years ago

cormacrelf commented 3 years ago

Fixes #127, fixes #131

One note here is that PubMed has started redirecting PMID urls to e.g. https://pubmed.ncbi.nlm.nih.gov/34706787/, so that might be a better canonical url format. But for the moment it just does what the csl 1.1 spec says.

One more note, even when link anchors are turned off, any of the recognised prefixes are still stripped and the canonical URL prefix, which is always HTTPS, is put in its place.