commit 2b7837efd434165fd26e5e5303c08ced761dbc38
parent d665f800a3c31d181812cbb6382c87ee46ee9875
Author: Avram Lyon <ajlyon@gmail.com>
Date: Wed, 30 Mar 2011 19:28:22 +0000
Trans: Fix whitespace in IEEE Xplore abstracts
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/translators/IEEE Xplore.js b/translators/IEEE Xplore.js
@@ -193,7 +193,7 @@ function scrape(doc,url)
// Abstracts don't seem to come with
if (!newItem.abstractNote) {
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();
}