Trans: Fix whitespace in IEEE Xplore abstracts
This commit is contained in:
parent
d665f800a3
commit
2b7837efd4
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ function scrape(doc,url)
|
||||||
// Abstracts don't seem to come with
|
// Abstracts don't seem to come with
|
||||||
if (!newItem.abstractNote) {
|
if (!newItem.abstractNote) {
|
||||||
var abstractNode = doc.evaluate('//a[@name="Abstract"]/following-sibling::p[1]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext();
|
var abstractNode = doc.evaluate('//a[@name="Abstract"]/following-sibling::p[1]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext();
|
||||||
if (abstractNode) newItem.abstractNote = abstractNode.textContent;
|
if (abstractNode) newItem.abstractNote = Zotero.Utilities.trimInternal(abstractNode.textContent);
|
||||||
}
|
}
|
||||||
newItem.complete();
|
newItem.complete();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue