Don't allow periods and commas at the end of DOIs
This commit is contained in:
parent
a9d32d0701
commit
1477893a84
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ Zotero.Utilities = {
|
|||
throw "cleanDOI: argument must be a string";
|
||||
}
|
||||
|
||||
return x.match(/10\.[^\s\/]+\/[^\s]+/);
|
||||
return x.match(/10\.[^\s\/]+\/[^\s]*[^\s\.,]/);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue