citation-js / plugin-quickstatements

Citation.js plugin to output QuickStatements
https://www.npmjs.com/package/@citation-js/plugin-quickstatements
Other
7 stars 2 forks source link

it should output DOIs in full upper case #4

Closed egonw closed 4 years ago

larsgw commented 4 years ago

A fix would be somewhere in this switch statement, with a case for "DOI" where the value is returned in upper case:

https://github.com/citation-js/plugin-quickstatements/blob/e6a30e4a1e03d9edbcc4d985d8107f577a4450ab/src/output.js#L81-L82

larsgw commented 4 years ago

Published in 0.3.4 (with a fix to quote the DOI and updated tests)