Merge pull request #869 from zuphilip/patch-2

Relax condition in parseContextObject
This commit is contained in:
Dan Stillman 2015-11-08 16:14:14 -05:00
commit 26f6f05331

View file

@ -438,7 +438,10 @@ Zotero.OpenURL = new function() {
} else if(key == "rft.appldate") {
item.date = value;
}
} else if(format == "info:ofi/fmt:kev:mtx:dc") {
} else {
// The following keys are technically only valid in Dublin Core
// (i.e., format == "info:ofi/fmt:kev:mtx:dc") but in practice
// 'format' is not always set
if(key == "rft.identifier") {
if(value.length > 8) { // we could check length separately for
// each type, but all of these identifiers