fix parse error
This commit is contained in:
parent
b8d89b9d60
commit
8005ed59e4
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ var typeMap = {
|
||||||
artwork:"ART",
|
artwork:"ART",
|
||||||
report:"RPRT",
|
report:"RPRT",
|
||||||
bill:"BILL",
|
bill:"BILL",
|
||||||
case:"CASE",
|
"case":"CASE",
|
||||||
hearing:"HEAR",
|
hearing:"HEAR",
|
||||||
patent:"PAT",
|
patent:"PAT",
|
||||||
statute:"STAT",
|
statute:"STAT",
|
||||||
|
@ -545,9 +545,9 @@ function doExport() {
|
||||||
if(item.abstractNote) {
|
if(item.abstractNote) {
|
||||||
addTag("N2", item.abstractNote.replace(/(?:\r\n?|\n)/g, "\r\n"));
|
addTag("N2", item.abstractNote.replace(/(?:\r\n?|\n)/g, "\r\n"));
|
||||||
}
|
}
|
||||||
else if(item.abstract) {
|
else if(item["abstract"]) {
|
||||||
// patent type has abstract
|
// patent type has abstract
|
||||||
addTag("N2", item.abstract.replace(/(?:\r\n?|\n)/g, "\r\n"));
|
addTag("N2", item["abstract"].replace(/(?:\r\n?|\n)/g, "\r\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// tags
|
// tags
|
||||||
|
|
Loading…
Reference in a new issue