Extract PMCID from extra field
This commit is contained in:
parent
687997e963
commit
d25d49de66
1 changed files with 2 additions and 0 deletions
|
@ -440,6 +440,8 @@ Zotero.Cite.System = {
|
|||
if(typeof extra === "string") {
|
||||
var m = /(?:^|\n)PMID:\s*([0-9]+)/.exec(extra);
|
||||
if(m) cslItem.PMID = m[1];
|
||||
m = /(?:^|\n)PMCID:\s*([0-9]+)/.exec(extra);
|
||||
if(m) cslItem.PMCID = m[1];
|
||||
}
|
||||
|
||||
//this._cache[zoteroItem.id] = cslItem;
|
||||
|
|
Loading…
Add table
Reference in a new issue