We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df9c87b commit 0cdece2Copy full SHA for 0cdece2
src/normalization/patches.js
@@ -326,6 +326,9 @@ export function normalizeDoi(doi) {
326
else if (/^dx\.doi\.org\/.*/.test(normDoi)) {
327
normDoi = normDoi.replace(/^dx\.doi\.org\//, 'https://doi.org/');
328
}
329
+ else if (/^http\:\/\/doi.org\/.*/.test(normDoi)) {
330
+ normDoi = normDoi.replace(/^http\:\/\/doi.org\//, 'https://doi.org/');
331
+ }
332
return normDoi;
333
334
0 commit comments