Merge pull request #208 from aurimasv/PDF-doiScan
[PDF metadata retrieval] Fix broken DOI scanning
This commit is contained in:
commit
435b1d7bd8
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ Zotero_RecognizePDF.Recognizer.prototype.recognize = function(file, libraryID, c
|
||||||
Zotero.debug(allText);
|
Zotero.debug(allText);
|
||||||
var m = Zotero.Utilities.cleanDOI(allText);
|
var m = Zotero.Utilities.cleanDOI(allText);
|
||||||
if(m) {
|
if(m) {
|
||||||
this._DOI = m[0];
|
this._DOI = m;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use only first column from multi-column lines
|
// Use only first column from multi-column lines
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue