www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit d25d49de6649c28b3724c7a630a5e7dfe3f312cc
parent 687997e963b5fa14d38d0d52568570fb79b50dac
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 10 Mar 2013 16:58:34 -0400

Extract PMCID from extra field

Diffstat:
Mchrome/content/zotero/xpcom/cite.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js @@ -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;